INFO: task syz-executor260:5825 blocked for more than 143 seconds. Not tainted 6.15.0-rc4-syzkaller-00052-g4f79eaa2ceac #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor260 state:D stack:21192 pid:5825 tgid:5825 ppid:5823 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_mkdir+0x62/0xd0 fs/bcachefs/fs.c:910 vfs_mkdir+0x303/0x510 fs/namei.c:4359 do_mkdirat+0x247/0x590 fs/namei.c:4392 __do_sys_mkdir fs/namei.c:4414 [inline] __se_sys_mkdir fs/namei.c:4412 [inline] __x64_sys_mkdir+0x6c/0x80 fs/namei.c:4412 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:0x7f95d4392b19 RSP: 002b:00007ffc2bc15818 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f95d4392b19 RDX: 0000000000000000 RSI: 0000000000000024 RDI: 0000200000000100 RBP: 00007f95d44155f0 R08: 000000000000f624 R09: 000055558927a4c0 R10: 00007ffc2bc156e0 R11: 0000000000000246 R12: 00007ffc2bc15840 R13: 00007ffc2bc15a68 R14: 431bde82d7b634db R15: 00007f95d43db03b 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/5580: #0: ffff8880355ca0a0 (&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-executor260/5825: #0: ffff88807c00c420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556 #1: ffff888073ff0148 (&sb->s_type->i_mutex_key#14/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline] #1: ffff888073ff0148 (&sb->s_type->i_mutex_key#14/1){+.+.}-{4:4}, at: filename_create+0x1f9/0x470 fs/namei.c:4132 #2: ffff888073ff0530 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x2f2/0xb90 fs/bcachefs/fs.c:567 #3: ffff888074504228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #3: ffff888074504228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #3: ffff888074504228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x806/0xda0 fs/bcachefs/btree_iter.c:3385 #4: ffff888074526590 (&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/5834: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc4-syzkaller-00052-g4f79eaa2ceac #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: 82 Comm: kworker/u8:4 Not tainted 6.15.0-rc4-syzkaller-00052-g4f79eaa2ceac #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:lock_acquire+0x70/0x360 kernel/locking/lockdep.c:5831 Code: f8 08 0f 83 b8 01 00 00 89 c0 48 0f a3 05 b8 9d df 0d 73 16 e8 e1 d9 08 00 84 c0 75 0d f6 05 6a 9b c9 0d 01 0f 84 d7 01 00 00 <83> 3d 79 cc df 0d 00 0f 84 f0 00 00 00 48 8b b4 24 90 00 00 00 4c RSP: 0018:ffffc900015d7618 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 5d7274cb04476500 RDX: 0000000000000000 RSI: ffffffff8bc0fa40 RDI: ffffffff8bc0fa00 RBP: ffffffff820cedc6 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff820ce6f9 R12: 0000000000000000 R13: ffff88801a07b078 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff888126100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055feec6e4600 CR3: 000000000dd36000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0x106/0x1e0 mm/pgtable-generic.c:402 get_locked_pte include/linux/mm.h:2843 [inline] __text_poke+0x29c/0xbf0 arch/x86/kernel/alternative.c:2269 text_poke arch/x86/kernel/alternative.c:2354 [inline] text_poke_bp_batch+0x76b/0x940 arch/x86/kernel/alternative.c:2743 text_poke_flush arch/x86/kernel/alternative.c:2856 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 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.111 msecs