INFO: task kworker/0:2:972 blocked for more than 143 seconds. Not tainted 6.16.0-rc5-syzkaller-00121-gbc9ff192a6c9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:2 state:D stack:21336 pid:972 tgid:972 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5401 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6790 __schedule_loop kernel/sched/core.c:6868 [inline] schedule+0x165/0x360 kernel/sched/core.c:6883 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6940 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x724/0xe80 kernel/locking/mutex.c:747 rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 INFO: task syz.8.1623:12007 blocked for more than 144 seconds. Not tainted 6.16.0-rc5-syzkaller-00121-gbc9ff192a6c9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.1623 state:D stack:22600 pid:12007 tgid:12007 ppid:11198 task_flags:0x400040 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5401 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6790 __schedule_loop kernel/sched/core.c:6868 [inline] schedule+0x165/0x360 kernel/sched/core.c:6883 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6940 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x724/0xe80 kernel/locking/mutex.c:747 rfkill_unregister+0xc8/0x220 net/rfkill/core.c:1145 nfc_unregister_device+0x96/0x2a0 net/nfc/core.c:1167 virtual_ncidev_close+0x56/0x90 drivers/nfc/virtual_ncidev.c:172 __fput+0x44c/0xa70 fs/file_table.c:465 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff6d7d8e929 RSP: 002b:00007ffc4a93a948 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00000000000a8858 RCX: 00007ff6d7d8e929 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007ff6d7fb7ba0 R08: 0000000000000001 R09: 0000001c4a93ac3f R10: 00007ff6d7c00000 R11: 0000000000000246 R12: 00007ff6d7fb616c R13: 00007ff6d7fb6160 R14: ffffffffffffffff R15: 00007ffc4a93aa60 Showing all locks held in the system: 4 locks held by kworker/0:0/9: #0: ffff88801a478d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801a478d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc900000e7bc0 ((rfkill_op_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc900000e7bc0 ((rfkill_op_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffffffff8f7f8d48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_epo+0x4c/0x180 net/rfkill/core.c:462 #3: ffff8881433c7100 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #3: ffff8881433c7100 (&dev->mutex){....}-{4:4}, at: nfc_dev_down net/nfc/core.c:143 [inline] #3: ffff8881433c7100 (&dev->mutex){....}-{4:4}, at: nfc_rfkill_set_block+0x50/0x2e0 net/nfc/core.c:179 4 locks held by kworker/0:1/10: #0: ffff8880b8639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:614 #1: ffff8880b8623f08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39a/0x6d0 kernel/sched/psi.c:987 #2: ffffffff8e2d0038 (kernfs_notify_lock){....}-{3:3}, at: spin_lock_irq include/linux/spinlock.h:376 [inline] #2: ffffffff8e2d0038 (kernfs_notify_lock){....}-{3:3}, at: kernfs_notify_workfn+0x57a/0x5f0 fs/kernfs/file.c:901 #3: ffff88801cad0a28 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline] #3: ffff88801cad0a28 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0x6e/0x1290 kernel/sched/core.c:4231 1 lock held by khungtaskd/31: #0: ffffffff8e13f160 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13f160 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13f160 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 3 locks held by kworker/0:2/972: #0: ffff88801a478d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801a478d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc900037afbc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc900037afbc0 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffffffff8f7f8d48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182 3 locks held by kworker/u8:8/1160: #0: ffff8880b8639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:614 #1: ffff8880b8723f08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39a/0x6d0 kernel/sched/psi.c:987 #2: ffff8880b8725958 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x8ee/0xf30 kernel/time/timer.c:1117 2 locks held by getty/5603: #0: ffff888030b740a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036cb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by syz.8.1623/12007: #0: ffff8881433c7100 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #0: ffff8881433c7100 (&dev->mutex){....}-{4:4}, at: nfc_unregister_device+0x63/0x2a0 net/nfc/core.c:1165 #1: ffffffff8f7f8d48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_unregister+0xc8/0x220 net/rfkill/core.c:1145 2 locks held by syz-executor/12194: #0: ffff88806a72c918 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:470 #1: ffffffff8f7f8d48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0 net/rfkill/core.c:1071 2 locks held by syz-executor/12943: #0: ffff88806a7f8118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:470 #1: ffffffff8f7f8d48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0 net/rfkill/core.c:1071 2 locks held by syz-executor/13677: #0: ffff888023b8c118 (&data->open_mutex){+.+.}-{4:4}, at: vhci_create_device+0x34/0x6e0 drivers/bluetooth/hci_vhci.c:470 #1: ffffffff8f7f8d48 (rfkill_global_mutex){+.+.}-{4:4}, at: rfkill_register+0x37/0x8e0 net/rfkill/core.c:1071 1 lock held by syz.2.2038/13900: #0: ffff88804502b808 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #0: ffff88804502b808 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: __sock_release net/socket.c:646 [inline] #0: ffff88804502b808 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240 net/socket.c:1391 2 locks held by dhcpcd/13916: #0: ffff888053226258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff888053226258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 #1: ffffffff8e144c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #1: ffffffff8e144c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998 1 lock held by dhcpcd/13917: #0: ffff888025b44258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff888025b44258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/13918: #0: ffff888030cbc258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff888030cbc258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/13919: #0: ffff888031e9e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff888031e9e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 2 locks held by dhcpcd/13934: #0: ffff88806bf7c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff88806bf7c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 #1: ffffffff8e144c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #1: ffffffff8e144c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998 1 lock held by dhcpcd/13935: #0: ffff88802f6e4258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff88802f6e4258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/13936: #0: ffff88802f6e0258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff88802f6e0258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/13937: #0: ffff888028b12258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1667 [inline] #0: ffff888028b12258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc5-syzkaller-00121-gbc9ff192a6c9 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 12026 Comm: kworker/u8:15 Not tainted 6.16.0-rc5-syzkaller-00121-gbc9ff192a6c9 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_held_locks kernel/locking/lockdep.c:4316 [inline] RIP: 0010:__trace_hardirqs_on_caller kernel/locking/lockdep.c:4354 [inline] RIP: 0010:lockdep_hardirqs_on_prepare+0x15c/0x2a0 kernel/locking/lockdep.c:4413 Code: 90 00 01 8e 4c 89 fe e8 c2 0a 59 03 eb c2 85 c0 7e 64 83 bb d0 0a 00 00 00 74 5b 45 31 ff eb 13 49 ff c7 48 63 83 e8 0a 00 00 <49> 83 c6 28 49 39 c7 7d 43 49 83 ff 31 73 2c 41 8b 46 20 a9 00 00 RSP: 0018:ffffc9000407f8a0 EFLAGS: 00000002 RAX: 0000000000000002 RBX: ffff8880249f5a00 RCX: ffffffff934eb268 RDX: 0000000000000006 RSI: ffff8880249f6518 RDI: ffff8880249f5a00 RBP: ffffc9000407f978 R08: ffffffff8fa1f3f7 R09: 1ffffffff1f43e7e R10: dffffc0000000000 R11: fffffbfff1f43e7f R12: ffff8880249f6540 R13: dffffc0000000000 R14: ffff8880249f6518 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff888125d1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005634d48b1c28 CR3: 0000000076fae000 CR4: 0000000000350ef0 Call Trace: trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:78 __local_bh_enable_ip+0x12d/0x1c0 kernel/softirq.c:412 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x318/0x3b0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x369/0x610 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245