INFO: task syz.0.265:8839 blocked for more than 143 seconds. Not tainted 6.16.0-rc3-syzkaller-00044-g7595b66ae9de #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.265 state:D stack:19464 pid:8839 tgid:8838 ppid:8254 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16a2/0x4cb0 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 __closure_sync+0x163/0x220 lib/closure.c:146 bch2_wait_on_allocator fs/bcachefs/alloc_foreground.h:315 [inline] bch2_btree_update_start+0x171c/0x1dc0 fs/bcachefs/btree_update_interior.c:1292 bch2_btree_split_leaf+0x14b/0x8e0 fs/bcachefs/btree_update_interior.c:1920 bch2_trans_commit_error+0x1b7/0x1130 fs/bcachefs/btree_trans_commit.c:911 __bch2_trans_commit+0x1ce8/0x8880 fs/bcachefs/btree_trans_commit.c:1098 bch2_trans_commit fs/bcachefs/btree_update.h:242 [inline] bch2_journal_replay+0x1e1c/0x2620 fs/bcachefs/recovery.c:429 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:485 [inline] __bch2_run_recovery_passes+0x395/0x1010 fs/bcachefs/recovery_passes.c:540 bch2_run_recovery_passes+0x184/0x210 fs/bcachefs/recovery_passes.c:611 bch2_fs_recovery+0x25fd/0x3950 fs/bcachefs/recovery.c:989 bch2_fs_start+0xa99/0xd90 fs/bcachefs/super.c:1203 bch2_fs_get_tree+0xb02/0x14f0 fs/bcachefs/fs.c:2489 vfs_get_tree+0x8f/0x2b0 fs/super.c:1804 do_new_mount+0x24a/0xa40 fs/namespace.c:3885 do_mount fs/namespace.c:4222 [inline] __do_sys_mount fs/namespace.c:4433 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4410 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f626e5900ca RSP: 002b:00007f626f4d5e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f626f4d5ef0 RCX: 00007f626e5900ca RDX: 00002000000003c0 RSI: 0000200000000000 RDI: 00007f626f4d5eb0 RBP: 00002000000003c0 R08: 00007f626f4d5ef0 R09: 000000000180c844 R10: 000000000180c844 R11: 0000000000000246 R12: 0000200000000000 R13: 00007f626f4d5eb0 R14: 0000000000005926 R15: 0000200000000400 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 4 locks held by kworker/u8:11/3505: #0: ffff88802e501148 ((wq_completion)btree_node_rewrite){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88802e501148 ((wq_completion)btree_node_rewrite){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc9000c5d7bc0 ((work_completion)(&a->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000c5d7bc0 ((work_completion)(&a->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffff888043f04390 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #2: ffff888043f04390 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #2: ffff888043f04390 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220 fs/bcachefs/btree_iter.c:3255 #3: ffff888043f26710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1dc0 fs/bcachefs/btree_update_interior.c:1211 2 locks held by getty/5582: #0: ffff8880359720a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by syz.0.265/8839: #0: ffff888043f04390 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #0: ffff888043f04390 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #0: ffff888043f04390 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0xaf/0x220 fs/bcachefs/btree_iter.c:3255 #1: ffff888043f26710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1dc0 fs/bcachefs/btree_update_interior.c:1211 4 locks held by bch-reclaim/loo/8886: #0: ffff888043f4af68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x16b/0x4f0 fs/bcachefs/journal_reclaim.c:767 #1: ffff888043f04390 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #1: ffff888043f04390 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #1: ffff888043f04390 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7f4/0xd80 fs/bcachefs/btree_iter.c:3440 #2: ffff888043f04738 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x1829/0x19a0 fs/bcachefs/btree_write_buffer.c:572 #3: ffff888043f26710 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x542/0x1dc0 fs/bcachefs/btree_update_interior.c:1211 2 locks held by syz-executor/9032: #0: ffff888029e8c0e0 (&type->s_umount_key#74){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff888029e8c0e0 (&type->s_umount_key#74){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff888029e8c0e0 (&type->s_umount_key#74){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:506 #1: ffffffff8e570fe8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.2.564/11781: #0: ffff888029e8c0e0 (&type->s_umount_key#74){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff888029e8c0e0 (&type->s_umount_key#74){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121 1 lock held by syz.4.611/12336: #0: ffffffff8e144978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8e144978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998 1 lock held by dhcpcd-run-hook/12420: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc3-syzkaller-00044-g7595b66ae9de #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+0x70e/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5192 Comm: udevd Not tainted 6.16.0-rc3-syzkaller-00044-g7595b66ae9de #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:slab_update_freelist mm/slub.c:739 [inline] RIP: 0010:__slab_free+0x270/0x400 mm/slub.c:4495 Code: ea 48 8b 4c 24 10 4d 89 f8 e8 fc df ff ff 41 89 c7 e9 23 fe ff ff 48 8b 5c 24 10 4c 89 f9 4c 89 ea 4c 89 c8 f0 48 0f c7 4e 20 <0f> 85 54 fe ff ff 48 85 ed 75 2c 45 85 ed 79 59 65 48 8b 05 f8 68 RSP: 0018:ffffc90003067c50 EFLAGS: 00000242 RAX: 0000000000000000 RBX: ffff88802cdc1e00 RCX: 000000000010000f RDX: 0000000000100010 RSI: ffffea0000b37000 RDI: ffffffff00000000 RBP: 0000000000000000 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: fffffbfff1f3fc3f R12: 0000000000000000 R13: 0000000000100010 R14: 0000000000000000 R15: 000000000010000f FS: 00007fc576fd9880(0000) GS:ffff888125c83000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005568aee29078 CR3: 0000000034700000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4148 [inline] slab_alloc_node mm/slub.c:4197 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4204 getname_flags+0xb8/0x540 fs/namei.c:146 do_readlinkat+0xbc/0x500 fs/stat.c:575 __do_sys_readlink fs/stat.c:613 [inline] __se_sys_readlink fs/stat.c:610 [inline] __x64_sys_readlink+0x7f/0x90 fs/stat.c:610 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc5769153a7 Code: 00 00 90 48 83 ec 10 48 63 ff 45 31 c9 45 31 c0 6a 00 31 c9 e8 8a 20 f9 ff 48 83 c4 18 c3 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 21 ba 0d 00 f7 d8 64 89 02 48 RSP: 002b:00007fff2f8a12a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007fff2f8a1780 RCX: 00007fc5769153a7 RDX: 0000000000000400 RSI: 00007fff2f8a12b0 RDI: 00007fff2f8a1780 RBP: 00007fff2f8a12b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000400 R13: 00005602a62ab100 R14: 0000000000000001 R15: 00007fff2f8a3080