INFO: task kworker/0:0:9 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:0     state:D stack:23952 pid:9     tgid:9     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/0:2:96 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:22416 pid:96    tgid:96    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 udevd:12930 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd           state:D stack:21928 pid:12930 tgid:12930 ppid:5296   task_flags:0x400140 flags:0x00004006
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 io_schedule+0x80/0xd0
 folio_wait_bit_common+0x6b0/0xb90
 do_read_cache_folio+0x1aa/0x590
 read_part_sector+0xb6/0x2b0
 adfspart_check_POWERTEC+0x8c/0xf30
 bdev_disk_changed+0x75f/0x14b0
 blkdev_get_whole+0x380/0x510
 bdev_open+0x31e/0xd30
 blkdev_open+0x3a8/0x510
 do_dentry_open+0x953/0x13f0
 vfs_open+0x3b/0x340
 path_openat+0x2ee5/0x3830
 do_filp_open+0x1fa/0x410
 do_sys_openat2+0x121/0x1c0
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4a3b5169a4
RSP: 002b:00007ffcb8ebebe0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055b412fe0780 RCX: 00007f4a3b5169a4
RDX: 00000000000a0800 RSI: 000055b412fc1360 RDI: 00000000ffffff9c
RBP: 000055b412fc1360 R08: 0000000000000001 R09: 7fffffffffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055b412fde370 R14: 0000000000000001 R15: 000055b412fc0910
 </TASK>
INFO: task syz.1.6374:28178 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.6374      state:D stack:26920 pid:28178 tgid:28178 ppid:5853   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:0x7fa17158ebe9
RSP: 002b:00007fff5c89aee8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 000000000008021c RCX: 00007fa17158ebe9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fa1717b7da0 R08: 0000000000000001 R09: 0000001e5c89b1df
R10: 0000001b31420000 R11: 0000000000000246 R12: 00007fa1717b5fac
R13: 00007fa1717b5fa0 R14: ffffffffffffffff R15: 00007fff5c89b000
 </TASK>
INFO: task syz.2.6420:28328 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.6420      state:D stack:24712 pid:28328 tgid:28327 ppid:5850   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:0x7fbc7558ebe9
RSP: 002b:00007fbc763ca038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fbc757b5fa0 RCX: 00007fbc7558ebe9
RDX: 0000000000000000 RSI: 00002000000001c0 RDI: 0000000000000004
RBP: 00007fbc75611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbc757b6038 R14: 00007fbc757b5fa0 R15: 00007ffeba199228
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/0:0/9:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900000c7bc0 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_sync_work+0x2e/0x200
 #3: ffff888111842100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ea0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/0:2/96:
 #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90001c0fbc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0
2 locks held by getty/5673:
 #0: ffff8880291fd0a0 (&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
1 lock held by udevd/12930:
 #0: ffff888021aaf358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30
1 lock held by udevd/13036:
 #0: ffff88803494b358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30
1 lock held by syz.1.6374/28178:
 #0: ffff888111842100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0
3 locks held by syz.2.6420/28328:
 #0: ffffffff8f59d230 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59d048 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
 #2: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz.0.6425/28348:
 #0: ffffffff8f59d230 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40
 #1: ffffffff8f59d048 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x10d/0x790
2 locks held by syz-executor/28351:
 #0: ffff88803c050918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/28353:
 #0: ffff88803c056918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/28355:
 #0: ffff88811109b918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/28357:
 #0: ffff88812b2d2918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/28359:
 #0: ffff88812b2d4918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/28361:
 #0: ffff88812b2d2118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/28363:
 #0: ffff888062638918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/28365:
 #0: ffff88806263a918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811808 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0
2 locks held by syz-executor/28367:
 #0: ffff88806263c118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0
 #1: ffffffff8f811808 (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+0x3fc/0x770
 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: 16912 Comm: kworker/u8: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: bat_events batadv_nc_worker
RIP: 0010:rcu_is_watching+0x2e/0xb0
Code: 41 57 41 56 53 65 ff 05 00 f2 f9 10 e8 eb 22 d3 09 89 c3 83 f8 08 73 65 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 10 ed bd 8d <4c> 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 1c b7 7c 00
RSP: 0018:ffffc900078e7990 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 38a35a9813dd6d00
RDX: ffff88811df49cc0 RSI: ffffffff8be332e0 RDI: ffffffff8be332a0
RBP: ffff888044787148 R08: 0000000000000000 R09: ffffffff8b4769fa
R10: dffffc0000000000 R11: fffffbfff1f46fc7 R12: dffffc0000000000
R13: 1ffff1102112a313 R14: ffffffff8dbded10 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff8d0087e20 CR3: 00000001092f8000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 batadv_nc_process_nc_paths+0xfa/0x3a0
 batadv_nc_worker+0x429/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>
