INFO: task kworker/0:4:5913 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:4     state:D stack:25280 pid:5913  tgid:5913  ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: events rfkill_global_led_trigger_worker
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rfkill_global_led_trigger_worker+0x27/0xd0
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.2.3:5914 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.3         state:D stack:25096 pid:5914  tgid:5914  ppid:5846   task_flags:0x400040 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rfkill_unregister+0xc8/0x220
 nfc_unregister_device+0x96/0x2a0
 virtual_ncidev_close+0x56/0x90
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efc3558ec29
RSP: 002b:00007ffcc90dcb98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007efc357d7da0 RCX: 00007efc3558ec29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007efc357d7da0 R08: 0000000000000128 R09: 0000000fc90dce8f
R10: 00007efc357d7cb0 R11: 0000000000000246 R12: 000000000000ecca
R13: 00007ffcc90dcc90 R14: ffffffffffffffff R15: 00007ffcc90dccb0
 </TASK>
INFO: task syz.2.3:5927 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.3         state:D stack:25136 pid:5927  tgid:5914  ppid:5846   task_flags:0x400040 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 nfc_rfkill_set_block+0x50/0x2e0
 rfkill_set_block+0x1d2/0x440
 rfkill_fop_write+0x44b/0x570
 vfs_write+0x27e/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efc3558ec29
RSP: 002b:00007efc363f9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007efc357d6090 RCX: 00007efc3558ec29
RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000003
RBP: 00007efc35611e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007efc357d6128 R14: 00007efc357d6090 R15: 00007ffcc90dca38
 </TASK>
INFO: task syz.1.16:6003 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.16        state:D stack:22968 pid:6003  tgid:6002  ppid:5854   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rfkill_register+0x37/0x8e0
 wiphy_register+0x2231/0x2aa0
 ieee80211_register_hw+0x3442/0x40a0
 mac80211_hwsim_new_radio+0x2f0e/0x5340
 hwsim_new_radio_nl+0xea4/0x1b10
 genl_family_rcv_msg_doit+0x215/0x300
 genl_rcv_msg+0x60e/0x790
 netlink_rcv_skb+0x208/0x470
 genl_rcv+0x28/0x40
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f616cb8ec29
RSP: 002b:00007f616adf6038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f616cdd5fa0 RCX: 00007f616cb8ec29
RDX: 0000000020008010 RSI: 0000200000000140 RDI: 000000000000000b
RBP: 00007f616cc11e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f616cdd6038 R14: 00007f616cdd5fa0 R15: 00007fff7e232a78
 </TASK>
INFO: task syz.0.17:6007 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.17        state:D stack:27976 pid:6007  tgid:6005  ppid:5850   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 genl_rcv_msg+0x10d/0x790
 netlink_rcv_skb+0x208/0x470
 genl_rcv+0x28/0x40
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 __sys_sendto+0x3bd/0x520
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcc06d90abc
RSP: 002b:00007fcc07b6eec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fcc07b6efc0 RCX: 00007fcc06d90abc
RDX: 0000000000000020 RSI: 00007fcc07b6f010 RDI: 000000000000000d
RBP: 0000000000000000 R08: 00007fcc07b6ef14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000000d
R13: 00007fcc07b6ef68 R14: 00007fcc07b6f010 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13a0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5677:
 #0: ffff88810a3310a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029032f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
3 locks held by kworker/0:4/5913:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900041ffbc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
2 locks held by syz.2.3/5914:
 #0: ffff888025444100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220
2 locks held by syz.2.3/5927:
 #0: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_fop_write+0x191/0x570
 #1: ffff888025444100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
3 locks held by syz.1.16/6003:
 #0: ffffffff8f59fb50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59f968 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
 #2: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz.0.17/6007:
 #0: ffffffff8f59fb50 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59f968 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/6010:
 #0: ffff88810ee69118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/6014:
 #0: ffff888112d57118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/6015:
 #0: ffff88811ba76918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/6032:
 #0: ffff888112f3f118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/6036:
 #0: ffff888109fcf918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/6037:
 #0: ffff88811bce6118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/6039:
 #0: ffff8880382ca118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/6043:
 #0: ffff888112d57918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/6044:
 #0: ffff888112d53918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812fc8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 3606 Comm: kworker/u9:6 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:bcmp+0x18e/0x230
Code: 48 89 ef 48 8b 34 24 4c 89 ea e9 0d ff ff ff 48 85 d2 0f 84 95 00 00 00 31 db 48 8d 04 1f 48 89 c1 48 c1 e9 03 42 0f b6 0c 39 <84> c9 75 2b 0f b6 04 1f 48 8d 0c 1e 49 89 c8 49 c1 e8 03 47 0f b6
RSP: 0018:ffffc90008f97680 EFLAGS: 00000807
RAX: ffffffff82184f27 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffc90008f978f0 RDI: ffffffff82184f27
RBP: ffffc90008f97810 R08: dffffc0000000000 R09: 0000000000019fd5
R10: dffffc0000000000 R11: ffffed100348f0ec R12: dffffc0000000000
R13: ffff88801a476558 R14: 00002aaaaaaac000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8613000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fb176b0280 CR3: 000000000df36000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __text_poke+0x71c/0xa10
 smp_text_poke_batch_finish+0xd0f/0x1130
 arch_jump_label_transform_apply+0x1c/0x30
 static_key_disable_cpuslocked+0xc5/0x1b0
 static_key_disable+0x1a/0x20
 toggle_allocation_gate+0x1a1/0x240
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x439/0x7d0
 ret_from_fork_asm+0x1a/0x30
 </TASK>
