INFO: task kworker/0:14:5642 blocked for more than 143 seconds. Not tainted 6.1.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:14 state:D stack:22808 pid:5642 ppid:2 flags:0x00004000 Workqueue: events rfkill_global_led_trigger_worker Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 rfkill_global_led_trigger_worker+0x23/0xd0 net/rfkill/core.c:181 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task syz-executor:7327 blocked for more than 143 seconds. Not tainted 6.1.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:21528 pid:7327 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 rfkill_unregister+0xcc/0x220 net/rfkill/core.c:1130 hci_unregister_dev+0x362/0x500 net/bluetooth/hci_core.c:2721 vhci_release+0x7f/0xd0 drivers/bluetooth/hci_vhci.c:573 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0xa73/0x26a0 kernel/exit.c:871 do_group_exit+0x202/0x2b0 kernel/exit.c:1021 get_signal+0x16f7/0x17d0 kernel/signal.c:2870 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7efdeb76dc57 RSP: 002b:00007ffe4f6d6170 EFLAGS: 00000293 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 000000000000012f RCX: 00007efdeb76dc57 RDX: 0000000040000000 RSI: 00007ffe4f6d61cc RDI: 00000000ffffffff RBP: 00007ffe4f6d61cc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000555556b245eb R13: 0000555556b24590 R14: 0000000000072ec9 R15: 00007ffe4f6d6220 INFO: task syz.0.1607:9406 blocked for more than 143 seconds. Not tainted 6.1.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.1607 state:D stack:25000 pid:9406 ppid:7327 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 rfkill_unregister+0xcc/0x220 net/rfkill/core.c:1130 nfc_unregister_device+0x92/0x290 net/nfc/core.c:1167 virtual_ncidev_close+0x55/0x90 drivers/nfc/virtual_ncidev.c:170 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7efdeb7779f9 RSP: 002b:00007ffe4f6d5f78 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007efdeb907a80 RCX: 00007efdeb7779f9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007efdeb907a80 R08: 0000000000000006 R09: 00007ffe4f6d625f R10: 00000000003ffc44 R11: 0000000000000246 R12: 0000000000073223 R13: 00007ffe4f6d6070 R14: 00007ffe4f6d6090 R15: ffffffffffffffff INFO: task syz.1.1611:9423 blocked for more than 144 seconds. Not tainted 6.1.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.1611 state:D stack:23672 pid:9423 ppid:5012 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 device_lock include/linux/device.h:837 [inline] nfc_dev_down net/nfc/core.c:143 [inline] nfc_rfkill_set_block+0x4c/0x2f0 net/nfc/core.c:179 rfkill_set_block+0x1e7/0x430 net/rfkill/core.c:345 rfkill_fop_write+0x5b7/0x790 net/rfkill/core.c:1286 vfs_write+0x2d9/0xbc0 fs/read_write.c:582 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f42d35779f9 RSP: 002b:00007f42d431b048 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f42d3706058 RCX: 00007f42d35779f9 RDX: 0000000000000008 RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007f42d35e58ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f42d3706058 R15: 00007ffe75924358 INFO: task syz-executor:9628 blocked for more than 144 seconds. Not tainted 6.1.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:27560 pid:9628 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 rfkill_register+0x30/0x880 net/rfkill/core.c:1057 hci_register_dev+0x4df/0xa40 net/bluetooth/hci_core.c:2621 __vhci_create_device drivers/bluetooth/hci_vhci.c:340 [inline] vhci_create_device+0x3ba/0x700 drivers/bluetooth/hci_vhci.c:379 vhci_get_user drivers/bluetooth/hci_vhci.c:436 [inline] vhci_write+0x38b/0x440 drivers/bluetooth/hci_vhci.c:516 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x857/0xbc0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fa88d7764a0 RSP: 002b:00007ffd5fa24bc8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fa88d7764a0 RDX: 0000000000000002 RSI: 00007ffd5fa24bda RDI: 00000000000000ca RBP: 00007fa88d906a38 R08: 0000000000000000 R09: 00007fa88e43d6c0 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000c R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000009 INFO: task syz-executor:9644 blocked for more than 144 seconds. Not tainted 6.1.103-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:27304 pid:9644 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 rfkill_register+0x30/0x880 net/rfkill/core.c:1057 hci_register_dev+0x4df/0xa40 net/bluetooth/hci_core.c:2621 __vhci_create_device drivers/bluetooth/hci_vhci.c:340 [inline] vhci_create_device+0x3ba/0x700 drivers/bluetooth/hci_vhci.c:379 vhci_get_user drivers/bluetooth/hci_vhci.c:436 [inline] vhci_write+0x38b/0x440 drivers/bluetooth/hci_vhci.c:516 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x857/0xbc0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f13a5d764a0 RSP: 002b:00007ffef814c248 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f13a5d764a0 RDX: 0000000000000002 RSI: 00007ffef814c25a RDI: 00000000000000ca RBP: 00007f13a5f06a38 R08: 0000000000000000 R09: 00007f13a6a3d6c0 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000c R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000009 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b190 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32b990 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 2 locks held by getty/3396: #0: ffff88807eb98098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 3 locks held by kworker/0:14/5642: #0: ffff888012870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000afdfd20 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x23/0xd0 net/rfkill/core.c:181 1 lock held by syz-executor/7327: #0: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xcc/0x220 net/rfkill/core.c:1130 2 locks held by syz.0.1607/9406: #0: ffff88802209a100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #0: ffff88802209a100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x5f/0x290 net/nfc/core.c:1165 #1: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xcc/0x220 net/rfkill/core.c:1130 2 locks held by syz.1.1611/9423: #0: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a5/0x790 net/rfkill/core.c:1278 #1: ffff88802209a100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #1: ffff88802209a100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline] #1: ffff88802209a100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x4c/0x2f0 net/nfc/core.c:179 2 locks held by syz-executor/9628: #0: ffff8880187f5918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x700 drivers/bluetooth/hci_vhci.c:378 #1: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor/9644: #0: ffff888074ce5118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x700 drivers/bluetooth/hci_vhci.c:378 #1: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor/10322: #0: ffff888077ec0918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x700 drivers/bluetooth/hci_vhci.c:378 #1: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor/10338: #0: ffff88805a71d918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x700 drivers/bluetooth/hci_vhci.c:378 #1: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor/10860: #0: ffff888058cd5118 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x700 drivers/bluetooth/hci_vhci.c:378 #1: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 2 locks held by syz-executor/10879: #0: ffff88801bb32918 (&data->open_mutex){+.+.}-{3:3}, at: vhci_create_device+0x34/0x700 drivers/bluetooth/hci_vhci.c:378 #1: ffffffff8e7a7288 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_register+0x30/0x880 net/rfkill/core.c:1057 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3868 Comm: kworker/u4:13 Not tainted 6.1.103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:cpus_read_lock+0x0/0x150 kernel/cpu.c:309 Code: 1f 84 00 00 00 00 00 0f 1f 00 e8 1b f3 37 00 48 c7 c7 20 82 1c 8d e9 4f 69 5b 09 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 <53> e8 fa f2 37 00 48 c7 c7 80 df 0a 8b be 31 00 00 00 e8 c9 7f 0d RSP: 0018:ffffc90005207b28 EFLAGS: 00000293 RAX: ffffffff81b61c79 RBX: ffffffff91f96ee0 RCX: ffff888020301dc0 RDX: 0000000000000000 RSI: 0000000000001b58 RDI: ffffffff91f96ee0 RBP: ffffc90005207c50 R08: ffffffff81e273f0 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000a40f68 R14: 0000000000000001 R15: 0000000000001b58 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c370f21 CR3: 000000000d08e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: static_key_disable+0xe/0x20 kernel/jump_label.c:242 toggle_allocation_gate+0x3e0/0x480 mm/kfence/core.c:818 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295