INFO: task syz-executor253:5821 blocked for more than 143 seconds. Not tainted 6.15.0-rc3-syzkaller-00342-g5bc1018675ec #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor253 state:D stack:21192 pid:5821 tgid:5821 ppid:5820 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 __closure_sync+0x163/0x220 lib/closure.c:146 bch2_wait_on_allocator fs/bcachefs/alloc_foreground.h:256 [inline] bch2_btree_update_start+0x1193/0x14c0 fs/bcachefs/btree_update_interior.c:1251 bch2_btree_split_leaf+0x13c/0x8f0 fs/bcachefs/btree_update_interior.c:1864 bch2_trans_commit_error+0x1a8/0x1100 fs/bcachefs/btree_trans_commit.c:904 __bch2_trans_commit+0x779c/0x8ae0 fs/bcachefs/btree_trans_commit.c:1069 bch2_trans_commit fs/bcachefs/btree_update.h:195 [inline] __bch2_create+0x887/0xb90 fs/bcachefs/fs.c:593 bch2_mknod fs/bcachefs/fs.c:750 [inline] bch2_create+0x66/0xd0 fs/bcachefs/fs.c:764 lookup_open fs/namei.c:3701 [inline] open_last_lookups fs/namei.c:3800 [inline] path_openat+0x14f1/0x3830 fs/namei.c:4036 do_filp_open+0x1fa/0x410 fs/namei.c:4066 do_sys_openat2+0x121/0x1c0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1455 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f444731eb59 RSP: 002b:00007ffd25e3c218 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f444731eb59 RDX: 000000000000275a RSI: 00002000000000c0 RDI: 00000000ffffff9c RBP: 00007f44473a15f0 R08: 000000000000f624 R09: 00005555577c54c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd25e3c240 R13: 00007ffd25e3c468 R14: 431bde82d7b634db R15: 00007f444736703b Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764 2 locks held by getty/5577: #0: ffff8880307bc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002ffe2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 5 locks held by syz-executor253/5821: #0: ffff88803004a420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556 #1: ffff888074928148 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff888074928148 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: open_last_lookups fs/namei.c:3797 [inline] #1: ffff888074928148 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: path_openat+0x8da/0x3830 fs/namei.c:4036 #2: ffff888074928530 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x2f2/0xb90 fs/bcachefs/fs.c:567 #3: ffff888079d04228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #3: ffff888079d04228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #3: ffff888079d04228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x806/0xda0 fs/bcachefs/btree_iter.c:3385 #4: ffff888079d26590 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x68f/0x14c0 fs/bcachefs/btree_update_interior.c:1179 1 lock held by bch-copygc/loop/5831: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00342-g5bc1018675ec #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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:274 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:437 kthread+0x70e/0x8a0 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5831 Comm: bch-copygc/loop Not tainted 6.15.0-rc3-syzkaller-00342-g5bc1018675ec #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline] RIP: 0010:unwind_next_frame+0x214/0x2390 arch/x86/kernel/unwind_orc.c:494 Code: ef 08 8b 15 be e5 23 0c 8d 42 ff 44 39 f8 0f 86 65 18 00 00 44 89 f8 4c 8d 2c 85 54 33 b6 90 4c 89 e8 48 c1 e8 03 0f b6 04 28 <84> c0 48 89 eb 0f 85 1c 1c 00 00 45 8b 6d 00 44 89 f8 ff c0 48 8d RSP: 0018:ffffc900041cf0b8 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: 0000000000000001 RCX: cb9867d05cff2b00 RDX: 00000000000a524b RSI: ffffffff8bc0fa40 RDI: ffffffff8bc0fa00 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff817199f5 R12: ffffffff8166f9aa R13: ffffffff90b7cf38 R14: ffffc900041cf188 R15: 00000000000066f9 FS: 0000000000000000(0000) GS:ffff888126102000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffee1ed2288 CR3: 000000000dd36000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 __kfence_alloc+0x2b2/0x3b0 mm/kfence/core.c:1121 kfence_alloc include/linux/kfence.h:129 [inline] slab_alloc_node mm/slub.c:4194 [inline] __do_kmalloc_node mm/slub.c:4340 [inline] __kvmalloc_node_noprof+0x52f/0x5e0 mm/slub.c:5026 __bch2_darray_resize_noprof+0xd7/0x290 fs/bcachefs/darray.c:24 bch2_copygc_get_buckets fs/bcachefs/movinggc.c:169 [inline] bch2_copygc+0x1c01/0x3cf0 fs/bcachefs/movinggc.c:221 bch2_copygc_thread+0x8c9/0xd40 fs/bcachefs/movinggc.c:405 kthread+0x70e/0x8a0 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 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.330 msecs