------------[ cut here ]------------ WARNING: CPU: 1 PID: 5718 at fs/buffer.c:1084 mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 Modules linked in: CPU: 1 PID: 5718 Comm: segctord Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80401005 (Nzcv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 lr : mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 sp : ffff80001dec7540 x29: ffff80001dec7540 x28: ffff0000dbc38328 x27: dfff800000000000 x26: ffff0000deff5ae8 x25: ffff0000cab6c020 x24: ffff0000deff5af8 x23: ffff80001dec7a80 x22: ffff0000deff4680 x21: 0000000000000000 x20: 0000000000000008 x19: ffff0000ed6312b8 x18: 1fffff7ffdfe4606 x17: 1fffff7ffdfe4606 x16: ffff8000083053b4 x15: ffff8000149dec20 x14: 1ffff0000292806a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000f0d2b680 x8 : ffff800008a6dac8 x7 : ffff800009cecce0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008a6d80c x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: mark_buffer_dirty+0x2e8/0x574 fs/buffer.c:1084 nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:2000 [inline] nilfs_segctor_do_construct+0x2b0/0x67f4 fs/nilfs2/segment.c:2062 nilfs_segctor_construct+0x110/0x768 fs/nilfs2/segment.c:2418 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2526 [inline] nilfs_segctor_thread+0x3c8/0xe94 fs/nilfs2/segment.c:2609 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 40 hardirqs last enabled at (39): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (39): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (40): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (0): [] copy_process+0x12c4/0x3750 kernel/fork.c:2151 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 62dfb09b716a5069 ]---