INFO: task kworker/1:2:793 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:2     state:D stack:21784 pid:793   tgid:793   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/0x1360
 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:5904 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:22888 pid:5904  tgid:5904  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/0x1360
 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.2.2954:17205 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.2954      state:D stack:26264 pid:17205 tgid:17205 ppid:5851   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:0x7f5f8e58ebe9
RSP: 002b:00007ffd7d71eaa8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00000000000443aa RCX: 00007f5f8e58ebe9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f5f8e7b7da0 R08: 0000000000000001 R09: 0000001e7d71ed9f
R10: 0000001b31a20000 R11: 0000000000000246 R12: 00007f5f8e7b5fac
R13: 00007f5f8e7b5fa0 R14: ffffffffffffffff R15: 00007ffd7d71ebc0
 </TASK>
INFO: task syz.0.2963:17259 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.2963      state:D stack:23912 pid:17259 tgid:17258 ppid:5855   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1360
 rfkill_register+0x37/0x8e0
 wiphy_register+0x214c/0x28d0
 ieee80211_register_hw+0x3425/0x4080
 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:0x7fbf3fd8ebe9
RSP: 002b:00007fbf40cab038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fbf3ffb5fa0 RCX: 00007fbf3fd8ebe9
RDX: 0000000000000300 RSI: 0000200000000040 RDI: 000000000000000a
RBP: 00007fbf3fe11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbf3ffb6038 R14: 00007fbf3ffb5fa0 R15: 00007ffc30469508
 </TASK>
INFO: task syz.1.2964:17261 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.2964      state:D stack:25896 pid:17261 tgid:17260 ppid:5861   task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1360
 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:0x7f7882590a7c
RSP: 002b:00007f78834a9ec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f78834a9fc0 RCX: 00007f7882590a7c
RDX: 0000000000000020 RSI: 00007f78834aa010 RDI: 000000000000000b
RBP: 0000000000000000 R08: 00007f78834a9f14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000000b
R13: 00007f78834a9f68 R14: 00007f78834aa010 R15: 0000000000000000
 </TASK>
INFO: task syz.1.2964:17262 blocked for more than 144 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.2964      state:D stack:27872 pid:17262 tgid:17260 ppid:5861   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1360
 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:0x7f7882590a7c
RSP: 002b:00007f7883488ec0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f7883488fc0 RCX: 00007f7882590a7c
RDX: 0000000000000020 RSI: 00007f7883489010 RDI: 000000000000000d
RBP: 0000000000000000 R08: 00007f7883488f14 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000000d
R13: 00007f7883488f68 R14: 00007f7883489010 R15: 0000000000000000
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ea0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
5 locks held by kworker/u10:1/36:
 #0: ffff888136639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140
 #1: ffff888136624008 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x53/0x880
 #2: ffff888136625918 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x1ae/0xf30
 #3: ffffffff99d9a2c0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0xbb/0x420
 #4: ffffffff8dfe6388 (text_mutex){+.+.}-{4:4}, at: arch_jump_label_transform_apply+0x17/0x30
4 locks held by kworker/1:2/793:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000475fbc0 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_sync_work+0x2e/0x200
 #3: ffff888122ed1100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
2 locks held by getty/5672:
 #0: ffff88810f8460a0 (&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/1:4/5904:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900039ffbc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
1 lock held by udevd/9847:
 #0: ffff8880202de358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30
1 lock held by syz.2.2954/17205:
 #0: ffff888122ed1100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
3 locks held by syz.0.2963/17259:
 #0: ffffffff8f59d570 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59d388 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
 #2: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz.1.2964/17261:
 #0: ffffffff8f59d570 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59d388 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz.1.2964/17262:
 #0: ffffffff8f59d570 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59d388 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/17266:
 #0: ffff88803a875118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/17269:
 #0: ffff88803d1c8118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/17270:
 #0: ffff88803d1ca118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/17272:
 #0: ffff888120604118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/17275:
 #0: ffff88803fac2918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/17276:
 #0: ffff88803d1ce118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/17281:
 #0: ffff88803fac7918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/17284:
 #0: ffff88803fac4118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811be8 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/17285:
 #0: ffff88803fb1d118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811be8 (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: 12 Comm: kworker/u8:0 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:check_preemption_disabled+0x2d/0x120
Code: 41 56 53 48 83 ec 10 65 48 8b 05 be be 26 07 48 89 44 24 08 65 8b 05 c6 be 26 07 65 8b 0d bb be 26 07 f7 c1 ff ff ff 7f 74 23 <65> 48 8b 0d 9b be 26 07 48 3b 4c 24 08 0f 85 cc 00 00 00 48 83 c4
RSP: 0018:ffffc900000f7878 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffff88801c2f5640 RCX: 0000000080000201
RDX: 0000000000000000 RSI: ffffffff8dba656d RDI: ffffffff8be33300
RBP: ffffc900000f7978 R08: ffffffff8fa38237 R09: 1ffffffff1f47046
R10: dffffc0000000000 R11: fffffbfff1f47047 R12: ffffffff8b477998
R13: dffffc0000000000 R14: ffffffff8b477998 R15: 1ffff9200001ef1c
FS:  0000000000000000(0000) GS:ffff8881a3c1b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb1cc087e20 CR3: 00000000260f4000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 lockdep_softirqs_on+0x13b/0x1c0
 __local_bh_enable_ip+0xe9/0x1c0
 batadv_nc_purge_paths+0x318/0x3b0
 batadv_nc_worker+0x328/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>
