INFO: task kworker/0:8:5902 blocked for more than 143 seconds. Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:8 state:D stack:22640 pid:5902 tgid:5902 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 rfkill_global_led_trigger_worker+0x1b/0x160 net/rfkill/core.c:182 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task +}[@:9801 blocked for more than 143 seconds. Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:+}[@ state:D stack:25200 pid:9801 tgid:9797 ppid:5823 flags:0x00024006 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 device_lock include/linux/device.h:1014 [inline] nfc_dev_down+0x2d/0x2e0 net/nfc/core.c:143 nfc_rfkill_set_block+0x39/0xe0 net/nfc/core.c:179 rfkill_set_block+0x203/0x560 net/rfkill/core.c:346 rfkill_fop_write+0x2ce/0x570 net/rfkill/core.c:1301 vfs_write+0x24c/0x1150 fs/read_write.c:681 ksys_write+0x1fa/0x260 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7800b7e719 RSP: 002b:00007f78018d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7800d35f80 RCX: 00007f7800b7e719 RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007f7800bf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7800d35f80 R15: 00007ffc5ce655c8 INFO: task syz.4.840:9799 blocked for more than 143 seconds. Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.840 state:D stack:27856 pid:9799 tgid:9799 ppid:5825 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 rfkill_fop_release+0x45/0x310 net/rfkill/core.c:1327 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f79b877e719 RSP: 002b:00007fffbba50538 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f79b8937a80 RCX: 00007f79b877e719 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f79b8937a80 R08: 0000000000000006 R09: 00007fffbba5082f R10: 00000000005c4158 R11: 0000000000000246 R12: 00000000000777f4 R13: 00007fffbba50640 R14: 0000000000000032 R15: ffffffffffffffff INFO: task syz.4.840:9800 blocked for more than 144 seconds. Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.840 state:D stack:26048 pid:9800 tgid:9799 ppid:5825 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 rfkill_unregister+0xde/0x2c0 net/rfkill/core.c:1145 nfc_unregister_device+0x94/0x330 net/nfc/core.c:1167 virtual_ncidev_close+0x4b/0xa0 drivers/nfc/virtual_ncidev.c:172 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f79b877e719 RSP: 002b:00007f79b9527038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffea RBX: 00007f79b8935f80 RCX: 00007f79b877e719 RDX: 0000000000005400 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f79b87f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f79b8935f80 R15: 00007fffbba503d8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 2 locks held by getty/5579: #0: ffff88803706a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900032232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:8/5902: #0: ffff88801b078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc900043b7d80 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff90370c48 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x1b/0x160 net/rfkill/core.c:182 2 locks held by kworker/u8:10/6338: #0: ffff888146e84948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90003c87d80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 4 locks held by kworker/u8:11/6374: #0: ffff8880b863eed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:606 [inline] #0: ffff8880b863eed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:591 #1: ffff8880b8628a48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2c1/0x8e0 kernel/sched/psi.c:987 #2: ffff8880b862a858 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x220 kernel/time/timer.c:1051 #3: ffffffff9aa01630 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x199/0x540 lib/debugobjects.c:708 2 locks held by +}[@/9801: #0: ffffffff90370c48 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x168/0x570 net/rfkill/core.c:1293 #1: ffff888022a8a100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #1: ffff888022a8a100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down+0x2d/0x2e0 net/nfc/core.c:143 1 lock held by syz.4.840/9799: #0: ffffffff90370c48 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_release+0x45/0x310 net/rfkill/core.c:1327 2 locks held by syz.4.840/9800: #0: ffff888022a8a100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #0: ffff888022a8a100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x60/0x330 net/nfc/core.c:1165 #1: ffffffff90370c48 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xde/0x2c0 net/rfkill/core.c:1145 2 locks held by syz-executor/10008: #0: ffff888035564118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device drivers/bluetooth/hci_vhci.c:469 [inline] #0: ffff888035564118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_get_user drivers/bluetooth/hci_vhci.c:527 [inline] #0: ffff888035564118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_write+0x2b7/0x470 drivers/bluetooth/hci_vhci.c:607 #1: ffffffff90370c48 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x3a/0xb40 net/rfkill/core.c:1071 2 locks held by syz-executor/10009: #0: ffff888035566118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device drivers/bluetooth/hci_vhci.c:469 [inline] #0: ffff888035566118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_get_user drivers/bluetooth/hci_vhci.c:527 [inline] #0: ffff888035566118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_write+0x2b7/0x470 drivers/bluetooth/hci_vhci.c:607 #1: ffffffff90370c48 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x3a/0xb40 net/rfkill/core.c:1071 2 locks held by syz.1.927/10245: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 #1: ffffffff90370c48 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_open+0x13b/0x750 net/rfkill/core.c:1178 1 lock held by syz.6.929/10251: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz.5.934/10267: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10274: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10276: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10279: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10282: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10283: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10285: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10287: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10289: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10292: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 1 lock held by syz-executor/10293: #0: ffffffff8eea5ac8 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x63/0x420 drivers/char/misc.c:129 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 12 Comm: kworker/u8:1 Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_release kernel/locking/lockdep.c:5509 [inline] RIP: 0010:lock_release+0x259/0x6f0 kernel/locking/lockdep.c:5846 Code: a9 02 00 00 48 8d 78 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 <84> d2 0f 85 2c 04 00 00 8b 55 24 85 d2 0f 85 bc 03 00 00 48 8d 7d RSP: 0018:ffffc90000117ac8 EFLAGS: 00000002 RAX: 0000000000000007 RBX: 1ffff92000022f5b RCX: ffffc90000117b18 RDX: 0000000000000000 RSI: ffffffff8e1b8340 RDI: ffff88801c69d3d4 RBP: ffff88801c69d3b0 R08: 0000000000000000 R09: fffffbfff20bebb1 R10: ffffffff905f5d8f R11: 0000000000000000 R12: ffffffff8e1b8340 R13: 0000000000000003 R14: ffff88801c69d358 R15: ffff88801c69c880 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe92cded38 CR3: 000000000df7c000 CR4: 00000000003526f0 DR0: 0000000000000003 DR1: 0000000000000004 DR2: 0000000100000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x88c/0x1060 net/batman-adv/network-coding.c:719 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244