INFO: task syz.6.119:6985 blocked for more than 143 seconds. Not tainted 6.15.0-rc3-syzkaller-00008-ga33b5a08cbbd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.119 state:D stack:9560 pid:6985 tgid:6984 ppid:6081 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b33/0x51f0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 bch2_btree_update_start+0x5df/0x16c0 fs/bcachefs/btree_update_interior.c:1147 bch2_btree_split_leaf+0x12d/0x8a0 fs/bcachefs/btree_update_interior.c:1864 bch2_trans_commit_error+0x1b3/0x1480 fs/bcachefs/btree_trans_commit.c:904 __bch2_trans_commit+0x8886/0x9da0 fs/bcachefs/btree_trans_commit.c:1069 bch2_trans_commit fs/bcachefs/btree_update.h:195 [inline] bch2_set_rebalance_needs_scan+0x99/0x3a0 fs/bcachefs/rebalance.c:262 bch2_run_recovery_pass+0xf0/0x1e0 fs/bcachefs/recovery_passes.c:226 bch2_run_recovery_passes+0x2ad/0xa90 fs/bcachefs/recovery_passes.c:285 bch2_fs_recovery+0x292a/0x3e20 fs/bcachefs/recovery.c:936 bch2_fs_start+0x310/0x620 fs/bcachefs/super.c:1065 bch2_fs_get_tree+0x113e/0x18f0 fs/bcachefs/fs.c:2253 vfs_get_tree+0x90/0x2b0 fs/super.c:1759 do_new_mount+0x2cf/0xb70 fs/namespace.c:3881 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount+0x38c/0x400 fs/namespace.c:4409 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7eb938f90a RSP: 002b:00007f7eb71f5e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f7eb71f5ef0 RCX: 00007f7eb938f90a RDX: 00002000000000c0 RSI: 0000200000000000 RDI: 00007f7eb71f5eb0 RBP: 00002000000000c0 R08: 00007f7eb71f5ef0 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000246 R12: 0000200000000000 R13: 00007f7eb71f5eb0 R14: 0000000000005920 R15: 0000200000000100 INFO: task syz.8.122:7004 blocked for more than 144 seconds. Not tainted 6.15.0-rc3-syzkaller-00008-ga33b5a08cbbd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.122 state:D stack:24616 pid:7004 tgid:7003 ppid:6205 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b33/0x51f0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 super_lock+0x334/0x400 fs/super.c:114 super_lock_shared fs/super.c:139 [inline] iterate_supers+0x8c/0x190 fs/super.c:931 quota_sync_all fs/quota/quota.c:69 [inline] __do_sys_quotactl fs/quota/quota.c:938 [inline] __se_sys_quotactl+0x383/0xa40 fs/quota/quota.c:917 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f364df8e169 RSP: 002b:00007f364edc6038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f364e1b5fa0 RCX: 00007f364df8e169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff80000100 RBP: 00007f364e010a68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f364e1b5fa0 R15: 00007ffe4a41fc88 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998 2 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/13: #0: ffff8880b8739998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605 #1: ffff8880b8723b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41f/0x7a0 kernel/sched/psi.c:987 #2: ffff888072708768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6092 [inline] #2: ffff888072708768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xcf/0x490 net/wireless/core.c:421 1 lock held by khungtaskd/31: #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764 2 locks held by getty/5585: #0: ffff88814d6a20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036e32f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222 3 locks held by kworker/1:3/5878: 2 locks held by kworker/1:4/5879: #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc9000445fc60 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000445fc60 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 3 locks held by kworker/0:6/5929: 2 locks held by syz.6.119/6985: #0: ffff888061cb00e0 (&type->s_umount_key#56/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffff888066a84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #1: ffff888066a84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #1: ffff888066a84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7ed/0xd40 fs/bcachefs/btree_iter.c:3382 1 lock held by syz-executor/8726: 1 lock held by syz-executor/9254: 5 locks held by syz-executor/9638: #0: ffff888059590d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888059590d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2678 #1: ffff888059590078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x60f/0x1260 net/bluetooth/hci_sync.c:5213 #2: ffffffff90251468 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2066 [inline] #2: ffffffff90251468 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2701 #3: ffff8880717eeb38 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x71/0x690 net/bluetooth/l2cap_core.c:1761 #4: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #4: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998 3 locks held by syz.3.328/9782: #0: ffff888027494d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff888027494d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2678 #1: ffff888027494078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x60f/0x1260 net/bluetooth/hci_sync.c:5213 #2: ffffffff90251468 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2066 [inline] #2: ffffffff90251468 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2701 3 locks held by syz.7.326/9798: #0: ffff88805cb48d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff88805cb48d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2678 #1: ffff88805cb48078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x60f/0x1260 net/bluetooth/hci_sync.c:5213 #2: ffffffff90251468 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2066 [inline] #2: ffffffff90251468 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2701 1 lock held by sed/9833: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00008-ga33b5a08cbbd #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:437 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 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: 9832 Comm: dhcpcd-run-hook Not tainted 6.15.0-rc3-syzkaller-00008-ga33b5a08cbbd #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:227 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:587 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1143 [inline] RIP: 0010:trace_signal_generate+0x7c/0x230 include/trace/events/signal.h:50 Code: 48 8d 3c c5 70 bb 5e 90 be 08 00 00 00 e8 cc dc a3 00 31 db 48 0f a3 2d 82 30 d8 0e 40 0f 92 c5 0f 92 c3 bf 02 00 00 00 89 de 5f 34 3c 00 31 ff 89 de e8 56 34 3c 00 40 84 ed 74 10 e8 0c a2 RSP: 0018:ffffc9000447faf0 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81868ae4 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000001 R08: ffffffff905ebb77 R09: 1ffffffff20bd76e R10: dffffc0000000000 R11: fffffbfff20bd76f R12: ffff88802bdf0000 R13: 0000000000000011 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8881250cf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc405cd128 CR3: 000000000eb38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __send_signal_locked+0xbc5/0xe90 kernel/signal.c:1155 do_notify_parent+0xd82/0x1090 kernel/signal.c:2259 exit_notify kernel/exit.c:771 [inline] do_exit+0x1757/0x27f0 kernel/exit.c:973 do_group_exit+0x207/0x2c0 kernel/exit.c:1102 __do_sys_exit_group kernel/exit.c:1113 [inline] __se_sys_exit_group kernel/exit.c:1111 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1111 x64_sys_call+0x26c3/0x26d0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f727db90a90 Code: Unable to access opcode bytes at 0x7f727db90a66. RSP: 002b:00007ffc3f37f2a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000055eb310b9e04 RCX: 00007f727db90a90 RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000000 RBP: 0000000000000003 R08: 00007ffc3f37f3a0 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc3f37f5c8 R13: 00007ffc3f37f5e0 R14: 000055eb2ee6b169 R15: 00007f727dd8fa80