------------[ cut here ]------------ WARNING: CPU: 1 PID: 6490 at fs/bcachefs/fs-io-buffered.c:464 bch2_writepage_io_done+0x6fc/0x7b4 fs/bcachefs/fs-io-buffered.c:464 Modules linked in: CPU: 1 UID: 0 PID: 6490 Comm: kworker/u9:2 Not tainted 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bcachefs bch2_write_point_do_index_updates pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : bch2_writepage_io_done+0x6fc/0x7b4 fs/bcachefs/fs-io-buffered.c:464 lr : bch2_writepage_io_done+0x6fc/0x7b4 fs/bcachefs/fs-io-buffered.c:464 sp : ffff8000af8578d0 x29: ffff8000af857940 x28: dfff800000000000 x27: 0000000000000003 x26: ffff0000f8a90008 x25: ffff0000f8a90008 x24: ffff0000f2100000 x23: ffff0000f8a90160 x22: 0000000000000008 x21: ffff0000f8a90180 x20: 1fffe0001f15202c x19: 0000000000000c00 x18: 00000000ffffffff x17: ffff800092f39000 x16: ffff80008ad27e48 x15: 0000000000000006 x14: 1ffff00015f0af21 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700015f0af27 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000ebc49e80 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000932d2308 x4 : 0000000000000008 x3 : 0000000000000020 x2 : 0000000000000008 x1 : 0000000000000008 x0 : 0000000000000000 Call trace: bch2_writepage_io_done+0x6fc/0x7b4 fs/bcachefs/fs-io-buffered.c:464 (P) bch2_write_done+0x2a4/0x914 fs/bcachefs/io_write.c:542 bch2_write_point_do_index_updates+0x7c/0x4f0 fs/bcachefs/io_write.c:708 process_one_work+0x7e8/0x156c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 irq event stamp: 20690 hardirqs last enabled at (20689): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (20689): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (20690): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:511 softirqs last enabled at (20478): [] softirq_handle_end kernel/softirq.c:425 [inline] softirqs last enabled at (20478): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:607 softirqs last disabled at (20307): [] __do_softirq+0x14/0x20 kernel/softirq.c:613 ---[ end trace 0000000000000000 ]---