INFO: task kworker/0:8:10777 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:8     state:D stack:25192 pid:10777 tgid:10777 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+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.0.1570:12061 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.1570      state:D stack:25096 pid:12061 tgid:12061 ppid:5849   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:0x7f1c1758ebe9
RSP: 002b:00007ffed3cbc268 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f1c177c7da0 RCX: 00007f1c1758ebe9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f1c177c7da0 R08: 0000000000015c7c R09: 0000000fd3cbc55f
R10: 00007f1c177c7cb0 R11: 0000000000000246 R12: 0000000000029df0
R13: 00007f1c177c6180 R14: ffffffffffffffff R15: 00007ffed3cbc380
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139f20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by getty/5672:
 #0: ffff888022a390a0 (&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/0:8/10777:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002e1fbc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
2 locks held by syz.0.1570/12061:
 #0: ffff8880378a6100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220
2 locks held by syz.0.1570/12062:
 #0: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_fop_write+0x191/0x570
 #1: ffff8880378a6100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
3 locks held by syz.2.1611/12216:
 #0: ffffffff8f59ea90 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59e8a8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
 #2: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz.1.1613/12222:
 #0: ffffffff8f59ea90 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59e8a8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz.1.1613/12223:
 #0: ffffffff8f59ea90 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59e8a8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/12227:
 #0: ffff88811fe49918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/12230:
 #0: ffff8880328bf918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/12231:
 #0: ffff8880328b9918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/12235:
 #0: ffff8880328b9118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/12238:
 #0: ffff88803c38e918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/12239:
 #0: ffff88811fe4b918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/12242:
 #0: ffff888032fe0118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/12245:
 #0: ffff8881233c4118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/12246:
 #0: ffff88810a577118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f812d68 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0

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

NMI backtrace for cpu 0
CPU: 0 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+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 6538 Comm: kworker/u8:5 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: bat_events batadv_nc_worker
RIP: 0010:mark_lock+0x96/0x190
Code: 3d 92 35 06 0e 00 75 19 90 48 c7 c7 82 81 ba 8d 48 c7 c6 d2 d5 a9 8d e8 78 bc e5 ff 90 0f 0b 90 90 90 31 c9 4c 89 fe 4c 89 f7 <b8> 01 00 00 00 85 69 60 74 10 5b 41 5c 41 5d 41 5e 41 5f 5d e9 d1
RSP: 0018:ffffc9000622f8b8 EFLAGS: 00000006
RAX: 0000000000000578 RBX: 0000000000000009 RCX: ffffffff93498888
RDX: 0000000000000008 RSI: ffff8881069d44c0 RDI: ffff8881069d3980
RBP: 0000000000000200 R08: 0000000000000000 R09: ffffffff8b4808d2
R10: dffffc0000000000 R11: ffffffff8b480800 R12: 00000000ffffff05
R13: 0000000000000001 R14: ffff8881069d44c0 R15: ffff8881069d44e0
FS:  0000000000000000(0000) GS:ffff8881a3c14000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc0935eff8 CR3: 0000000027b0c000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __lock_acquire+0x6a8/0xd20
 lock_acquire+0x120/0x360
 batadv_nc_worker+0xef/0x610
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
