INFO: task kworker/1:3:5884 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:3     state:D stack:24648 pid:5884  tgid:5884  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.1.2254:15392 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.2254      state:D stack:25096 pid:15392 tgid:15392 ppid:5846   task_flags:0x400040 flags:0x00004004
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:0x7f2d8cf8ec29
RSP: 002b:00007fff4a363ab8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f2d8d1d7da0 RCX: 00007f2d8cf8ec29
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f2d8d1d7da0 R08: 0000000000000104 R09: 0000000d4a363daf
R10: 00007f2d8d1d7cb0 R11: 0000000000000246 R12: 0000000000045e84
R13: 00007fff4a363bb0 R14: ffffffffffffffff R15: 00007fff4a363bd0
 </TASK>
INFO: task syz.0.2256:15404 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.2256      state:D stack:25208 pid:15404 tgid:15403 ppid:5847   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:0x7f417d78ec29
RSP: 002b:00007f417e5a1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f417d9d5fa0 RCX: 00007f417d78ec29
RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000004
RBP: 00007f417d811e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f417d9d6038 R14: 00007f417d9d5fa0 R15: 00007ffd45454048
 </TASK>
INFO: task syz-executor:15679 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:28040 pid:15679 tgid:15679 ppid:1      task_flags:0x400040 flags:0x00004000
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 rfkill_register+0x37/0x8e0
 hci_register_dev+0x3f5/0x890
 vhci_create_device+0x39c/0x650
 vhci_write+0x3ce/0x4a0
 vfs_write+0x5c9/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f346178d6a0
RSP: 002b:00007ffe4ee11348 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f346178d6a0
RDX: 0000000000000002 RSI: 00007ffe4ee1135a RDI: 00000000000000ca
RBP: 00007f34619d67b8 R08: 0000000000000000 R09: 00007f346250d6c0
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
R13: 0000000000000003 R14: 0000000000000009 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/5670:
 #0: ffff8880292eb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
3 locks held by kworker/1:3/5884:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000449fbc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
2 locks held by syz.1.2254/15392:
 #0: ffff888100146100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
 #1: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220
2 locks held by syz.0.2256/15404:
 #0: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_fop_write+0x191/0x570
 #1: ffff888100146100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
2 locks held by syz-executor/15679:
 #0: ffff888044576118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15680:
 #0: ffff888044574918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz.2.2365/15925:
 #0: ffff888045c4c258 (sk_lock-AF_NFC){+.+.}-{0:0}, at: rawsock_connect+0xce/0x590
 #1: ffff888100146100 (&dev->mutex){....}-{4:4}, at: nfc_activate_target+0x46/0x440
2 locks held by syz-executor/15932:
 #0: ffff888043d15118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15939:
 #0: ffff88810e4b2118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15941:
 #0: ffff88811a435118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15944:
 #0: ffff888130aba918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15948:
 #0: ffff888110135918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812ec8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15950:
 #0: ffff888062860118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812ec8 (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: 1090 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:rcu_is_watching+0x3a/0xb0
Code: e8 1b d1 d4 09 89 c3 83 f8 08 73 65 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 10 1d be 8d 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 4c cd 7c 00 48 c7 c3 98 ff a1 92 49 03 1e 48 89
RSP: 0018:ffffc90006ca74b8 EFLAGS: 00000046
RAX: 1ffffffff1b7c3a2 RBX: 0000000000000000 RCX: 6f00c813e489a500
RDX: 0000000000000000 RSI: ffffffff8be33ee0 RDI: ffffffff8be33ea0
RBP: ffffc90006ca75d0 R08: ffffffff8fa38e37 R09: 1ffffffff1f471c6
R10: dffffc0000000000 R11: fffffbfff1f471c7 R12: ffffffff8e242338
R13: ffffffff8e242280 R14: ffffffff8dbe1d10 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8613000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f663e6d600 CR3: 000000000df36000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 trace_tlb_flush+0x3a/0x140
 switch_mm_irqs_off+0x53e/0x7a0
 unuse_temporary_mm+0x136/0x220
 __text_poke+0x6c8/0xa10
 smp_text_poke_batch_finish+0xd0f/0x1130
 arch_jump_label_transform_apply+0x1c/0x30
 static_key_enable_cpuslocked+0x128/0x250
 static_key_enable+0x1a/0x20
 toggle_allocation_gate+0xad/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>
