INFO: task kworker/0:11:4609 blocked for more than 143 seconds. Not tainted 5.15.186-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:11 state:D stack:27520 pid: 4609 ppid: 2 flags:0x00004000 Workqueue: events rfkill_sync_work Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518 __mutex_lock_common+0xc71/0x2390 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 device_lock include/linux/device.h:760 [inline] nfc_dev_down net/nfc/core.c:143 [inline] nfc_rfkill_set_block+0x4c/0x2d0 net/nfc/core.c:179 rfkill_set_block+0x1c6/0x420 net/rfkill/core.c:345 rfkill_sync_work+0x82/0xe0 net/rfkill/core.c:1030 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task syz.1.182:5038 blocked for more than 143 seconds. Not tainted 5.15.186-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.182 state:D stack:27200 pid: 5038 ppid: 4168 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x97/0x280 kernel/time/timer.c:1890 do_wait_for_common+0x29a/0x440 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 __flush_work+0x120/0x1b0 kernel/workqueue.c:3094 __cancel_work_timer+0x3ac/0x520 kernel/workqueue.c:3181 rfkill_unregister+0x8e/0x220 net/rfkill/core.c:1112 nfc_unregister_device+0x92/0x290 net/nfc/core.c:1167 virtual_ncidev_close+0x55/0x90 drivers/nfc/virtual_ncidev.c:170 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fb671f85929 RSP: 002b:00007ffd7fde23b8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fb6721aeba0 RCX: 00007fb671f85929 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fb6721aeba0 R08: 0000000000000ed0 R09: 000000167fde26af R10: 00007fb6721aeac0 R11: 0000000000000246 R12: 000000000001cea4 R13: 00007ffd7fde24b0 R14: ffffffffffffffff R15: 00007ffd7fde24d0 Showing all locks held in the system: 4 locks held by kworker/1:0/21: #0: ffff8880b913a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9127848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4d6/0x810 kernel/sched/psi.c:891 #2: ffff8880b9127e78 (krc.lock){..-.}-{2:2}, at: kfree_rcu_monitor+0x29/0x730 kernel/rcu/tree.c:3378 #3: ffffffff963550e8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_active_state+0x6b/0x340 lib/debugobjects.c:920 1 lock held by khungtaskd/27: #0: ffffffff8c11bfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by klogd/3534: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 2 locks held by getty/3929: #0: ffff88814d12a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 1 lock held by syz-executor/4167: #0: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xc4/0x220 net/rfkill/core.c:1118 1 lock held by syz-executor/4171: #0: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xc4/0x220 net/rfkill/core.c:1118 1 lock held by syz-executor/4175: #0: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xc4/0x220 net/rfkill/core.c:1118 1 lock held by syz-executor/4178: #0: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xc4/0x220 net/rfkill/core.c:1118 4 locks held by kworker/0:11/4609: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90003c7fd00 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_sync_work+0x25/0xe0 net/rfkill/core.c:1028 #3: ffff88801e8ac190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff88801e8ac190 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline] #3: ffff88801e8ac190 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x4c/0x2d0 net/nfc/core.c:179 4 locks held by kworker/0:13/4611: 1 lock held by syz.1.182/5038: #0: ffff88801e8ac190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff88801e8ac190 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x5f/0x290 net/nfc/core.c:1165 2 locks held by syz-executor/5294: #0: ffff888062fdd918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5369: #0: ffff8880618a6118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 3 locks held by kworker/u4:101/5490: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9027848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4d6/0x810 kernel/sched/psi.c:891 #2: ffff8880b9028098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x123/0x270 kernel/time/timer.c:946 2 locks held by syz-executor/5598: #0: ffff88806478f918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5644: #0: ffff8880622f1118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5649: #0: ffff8880632bf518 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5652: #0: ffff888063ac7918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5655: #0: ffff888061289918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5658: #0: ffff88801e22a918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5661: #0: ffff888063862118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5670: #0: ffff88802711c518 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5673: #0: ffff888022759918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 2 locks held by syz-executor/5676: #0: ffff888024719518 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x5c0 drivers/bluetooth/hci_vhci.c:152 #1: ffffffff8d4b2888 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x33/0x8a0 net/rfkill/core.c:1045 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5490 Comm: kworker/u4:101 Not tainted 5.15.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:__local_bh_disable_ip+0x9a/0x190 kernel/softirq.c:340 Code: f4 10 ba 7e a9 00 00 0f 00 0f 85 df 00 00 00 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 4c 8b 74 24 40 fa 65 01 1d ce 10 ba 7e <65> 8b 05 c7 10 ba 7e 31 d8 a9 00 ff 00 00 75 05 e8 21 5f 13 00 48 RSP: 0018:ffffc9000409fa80 EFLAGS: 00000082 RAX: 0000000080000000 RBX: 0000000000000201 RCX: 1ffff110043995d9 RDX: 0000000000000000 RSI: 0000000000000201 RDI: ffffffff89775847 RBP: ffffc9000409fb20 R08: dffffc0000000000 R09: fffffbfff1ff3636 R10: fffffbfff1ff3636 R11: 1ffffffff1ff3635 R12: 1ffff92000813f50 R13: dffffc0000000000 R14: 0000000000000246 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005607f4a22000 CR3: 000000001de75000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:134 [inline] _raw_spin_lock_bh+0x18/0x50 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:368 [inline] batadv_nc_purge_paths+0xe7/0x3b0 net/batman-adv/network-coding.c:446 batadv_nc_worker+0x327/0x5c0 net/batman-adv/network-coding.c:726 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287