INFO: task kworker/0:2:794 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:2     state:D stack:24136 pid:794   tgid:794   ppid:2      task_flags:0x4208060 flags:0x00080000
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+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task kworker/0:4:9019 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:22344 pid:9019  tgid:9019  ppid:2      task_flags:0x4208060 flags:0x00080000
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+0x4bc/0x870
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.2.6994:31470 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.6994      state:D stack:27144 pid:31470 tgid:31470 ppid:5819   task_flags:0x400040 flags:0x00080002
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+0xe9/0x130
 do_syscall_64+0x2bd/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2acff8efc9
RSP: 002b:00007fffc983c528 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 0000000000089ea6 RCX: 00007f2acff8efc9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f2ad01e7da0 R08: 0000000000000001 R09: 0000001ec983c81f
R10: 0000001b2fa20000 R11: 0000000000000246 R12: 00007f2ad01e5fac
R13: 00007f2ad01e5fa0 R14: ffffffffffffffff R15: 00007fffc983c640
 </TASK>
INFO: task syz.1.7010:31532 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.7010      state:D stack:23368 pid:31532 tgid:31530 ppid:5824   task_flags:0x400140 flags:0x00080002
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+0x3473/0x40d0
 mac80211_hwsim_new_radio+0x2f7a/0x5220
 hwsim_new_radio_nl+0xf5b/0x1bd0
 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/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1f4c98efc9
RSP: 002b:00007f1f4d7e6038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1f4cbe5fa0 RCX: 00007f1f4c98efc9
RDX: 0000000000000328 RSI: 0000200000000040 RDI: 0000000000000004
RBP: 00007f1f4ca11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1f4cbe6038 R14: 00007f1f4cbe5fa0 R15: 00007fffa32c26f8
 </TASK>
INFO: task syz.0.7013:31540 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.7013      state:D stack:28328 pid:31540 tgid:31539 ppid:5827   task_flags:0x400040 flags:0x00080002
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/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0a72590e5c
RSP: 002b:00007f0a734daec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f0a734dafc0 RCX: 00007f0a72590e5c
RDX: 0000000000000020 RSI: 00007f0a734db010 RDI: 0000000000000005
RBP: 0000000000000000 R08: 00007f0a734daf14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000005
R13: 00007f0a734daf68 R14: 00007f0a734db010 R15: 0000000000000000
 </TASK>
INFO: task syz.0.7013:31541 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.7013      state:D stack:26216 pid:31541 tgid:31539 ppid:5827   task_flags:0x400140 flags:0x00080002
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/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0a72590e5c
RSP: 002b:00007f0a734b9ec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f0a734b9fc0 RCX: 00007f0a72590e5c
RDX: 0000000000000020 RSI: 00007f0a734ba010 RDI: 0000000000000008
RBP: 0000000000000000 R08: 00007f0a734b9f14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000008
R13: 00007f0a734b9f68 R14: 00007f0a734ba010 R15: 0000000000000000
 </TASK>
INFO: task syz.0.7013:31542 blocked for more than 144 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.7013      state:D stack:25160 pid:31542 tgid:31539 ppid:5827   task_flags:0x400140 flags:0x00080002
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1350
 llcp_sock_connect+0x217/0x9c0
 __sys_connect+0x316/0x440
 __x64_sys_connect+0x7a/0x90
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0a7258efc9
RSP: 002b:00007f0a7349a038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007f0a727e6180 RCX: 00007f0a7258efc9
RDX: 000000000000006e RSI: 0000200000000100 RDI: 000000000000000e
RBP: 00007f0a72611f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0a727e6218 R14: 00007f0a727e6180 R15: 00007ffd1659fda8
 </TASK>
INFO: task syz-executor:31546 blocked for more than 144 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:27112 pid:31546 tgid:31546 ppid:1      task_flags:0x400040 flags:0x00080000
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/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb6f2b8da40
RSP: 002b:00007ffd9d9e1268 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fb6f2b8da40
RDX: 0000000000000002 RSI: 00007ffd9d9e127a RDI: 00000000000000ca
RBP: 00007fb6f2de67b8 R08: 0000000000000000 R09: 00007fb6f391d6c0
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000
 </TASK>
INFO: task syz-executor:31548 blocked for more than 144 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:26680 pid:31548 tgid:31548 ppid:1      task_flags:0x400040 flags:0x00080000
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/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6ec598da40
RSP: 002b:00007fffca2355d8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f6ec598da40
RDX: 0000000000000002 RSI: 00007fffca2355ea RDI: 00000000000000ca
RBP: 00007f6ec5be67b8 R08: 0000000000000000 R09: 00007f6ec671d6c0
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/u8:1/13:
 #0: ffff88823c63a018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
 #1: ffff88823c624048 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x53/0x880
 #2: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0xa5/0x2390
 #3: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: batadv_iv_ogm_schedule+0x8c6/0xf00
1 lock held by khungtaskd/34:
 #0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
4 locks held by kworker/0:2/794:
 #0: ffff888100075948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90005c8fba0 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_sync_work+0x2e/0x200
 #3: ffff888103bb3100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
2 locks held by getty/5641:
 #0: ffff8881759640a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc9000356b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
3 locks held by kworker/0:4/9019:
 #0: ffff888100075948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90004fb7ba0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
1 lock held by syz.2.6994/31470:
 #0: ffff888103bb3100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
3 locks held by syz.1.7010/31532:
 #0: ffffffff8f330db0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f330bc8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
 #2: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz.0.7013/31540:
 #0: ffffffff8f330db0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f330bc8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz.0.7013/31541:
 #0: ffffffff8f330db0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f330bc8 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz.0.7013/31542:
 #0: ffff888190953260 (sk_lock-AF_NFC){+.+.}-{0:0}, at: llcp_sock_connect+0x142/0x9c0
 #1: ffff888103bb3100 (&dev->mutex){....}-{4:4}, at: llcp_sock_connect+0x217/0x9c0
2 locks held by syz-executor/31546:
 #0: ffff888185b8d118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/31548:
 #0: ffff888175ecf918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/31550:
 #0: ffff888040498918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/31553:
 #0: ffff88818d39d918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/31555:
 #0: ffff88811f6ac118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/31557:
 #0: ffff88804608d918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/31559:
 #0: ffff888186f94918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/31563:
 #0: ffff888186f97118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f5a9ea8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/31564:
 #0: ffff88818ef74918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x650
 #1: ffffffff8f5a9ea8 (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+0xf60/0xfa0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
 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: cc cc cc cc 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 33 51 22 00 f3 0f 1e fa fb f4 <e9> c8 e6 02 00 cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc90000197de0 EFLAGS: 00000286
RAX: e3020297dc7f8100 RBX: ffffffff81967b87 RCX: e3020297dc7f8100
RDX: 0000000000000001 RSI: ffffffff8d70b7f5 RDI: ffffffff8bbf0460
RBP: ffffc90000197f10 R08: ffff88823c632fdb R09: 1ffff110478c65fb
R10: dffffc0000000000 R11: ffffed10478c65fc R12: ffffffff8f7ccb70
R13: 0000000000000001 R14: 0000000000000001 R15: 1ffff1102c1d5000
FS:  0000000000000000(0000) GS:ffff8882a9f41000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0cbb887e20 CR3: 00000001144fc000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 default_idle+0x13/0x20
 default_idle_call+0x73/0xb0
 do_idle+0x1e7/0x510
 cpu_startup_entry+0x44/0x60
 start_secondary+0x101/0x110
 common_startup_64+0x13e/0x147
 </TASK>
