INFO: task kworker/1:3:2314 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:22920 pid:2314  tgid:2314  ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: events rfkill_sync_work
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_sync_work+0x114/0x200
 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 kworker/1:4:7227 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:4     state:D stack:24056 pid:7227  tgid:7227  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.2586:15070 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.2586      state:D stack:26920 pid:15070 tgid:15070 ppid:5841   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_timeout+0x9a/0x270
 wait_for_completion+0x2bf/0x5d0
 __flush_work+0x9b9/0xbc0
 __cancel_work_sync+0xbe/0x110
 rfkill_unregister+0x92/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:0x7fe03118ebe9
RSP: 002b:00007ffc925d3fc8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 0000000000036792 RCX: 00007fe03118ebe9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fe0313c7da0 R08: 0000000000000001 R09: 0000001e925d42bf
R10: 0000001b30e20000 R11: 0000000000000246 R12: 00007fe0313c5fac
R13: 00007fe0313c5fa0 R14: ffffffffffffffff R15: 00007ffc925d40e0
 </TASK>
INFO: task syz.1.2620:15185 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.2620      state:D stack:23880 pid:15185 tgid:15183 ppid:5843   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+0x214c/0x28d0
 ieee80211_register_hw+0x3484/0x4100
 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:0x7fd7c6b8ebe9
RSP: 002b:00007fd7c7972038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fd7c6dc5fa0 RCX: 00007fd7c6b8ebe9
RDX: 0000000020000000 RSI: 0000200000000140 RDI: 0000000000000004
RBP: 00007fd7c6c11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd7c6dc6038 R14: 00007fd7c6dc5fa0 R15: 00007ffdc24b1788
 </TASK>
INFO: task syz.2.2624:15201 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.2624      state:D stack:27880 pid:15201 tgid:15200 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:0x7fababb90a7c
RSP: 002b:00007fabaca08ec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fabaca08fc0 RCX: 00007fababb90a7c
RDX: 0000000000000020 RSI: 00007fabaca09010 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007fabaca08f14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004
R13: 00007fabaca08f68 R14: 00007fabaca09010 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
4 locks held by kworker/1:3/2314:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000a537bc0 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_sync_work+0x2e/0x200
 #3: ffff888123c52100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
2 locks held by getty/5675:
 #0: ffff88810dbb00a0 (&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:4/7227:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000354fbc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
1 lock held by syz.0.2586/15070:
 #0: ffff888123c52100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
3 locks held by syz.1.2620/15185:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
 #2: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz.2.2624/15201:
 #0: ffffffff8f59e0f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59df08 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/15226:
 #0: ffff888129a92918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15229:
 #0: ffff88810e934918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15230:
 #0: ffff888033d7f918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15245:
 #0: ffff88810a37a118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15249:
 #0: ffff88812b778918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15251:
 #0: ffff8880384a9118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15261:
 #0: ffff88803435c918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15265:
 #0: ffff88811240e918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f8127a8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/15266:
 #0: ffff888124eb9118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f8127a8 (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: 0 Comm: swapper/1 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
RIP: 0010:pv_native_safe_halt+0x13/0x20
Code: 53 e7 02 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d f3 66 0e 00 f3 0f 1e fa fb f4 <c3> cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90000177de0 EFLAGS: 00000282
RAX: 4eb1460e9a7f2c00 RBX: ffffffff819683c8 RCX: 4eb1460e9a7f2c00
RDX: 0000000000000001 RSI: ffffffff8d9b7ff7 RDI: ffffffff8be33800
RBP: ffffc90000177f20 R08: ffff888136632f9b R09: 1ffff11026cc65f3
R10: dffffc0000000000 R11: ffffed1026cc65f4 R12: ffffffff8fa38f30
R13: 0000000000000001 R14: 0000000000000001 R15: 1ffff110200d0000
FS:  0000000000000000(0000) GS:ffff8881a3c18000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000df36000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 default_idle+0x13/0x20
 default_idle_call+0x74/0xb0
 do_idle+0x1e8/0x510
 cpu_startup_entry+0x44/0x60
 start_secondary+0x101/0x110
 common_startup_64+0x13e/0x147
 </TASK>
