------------[ cut here ]------------ WARNING: CPU: 0 PID: 5309 at fs/buffer.c:1176 mark_buffer_dirty+0x3cb/0x440 fs/buffer.c:1176 Modules linked in: CPU: 0 PID: 5309 Comm: segctord Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:mark_buffer_dirty+0x3cb/0x440 fs/buffer.c:1176 Code: e8 ba bf 81 ff 48 89 ef e8 e2 c1 e5 ff 5b 5d 41 5c e9 a9 bf 81 ff e8 a4 bf 81 ff 90 0f 0b 90 e9 d1 fd ff ff e8 96 bf 81 ff 90 <0f> 0b 90 e9 63 fc ff ff e8 88 bf 81 ff 90 0f 0b 90 e9 8a fc ff ff RSP: 0018:ffffc90004117a30 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880590d6ae0 RCX: ffffffff820d40cd RDX: ffff88802ad53c00 RSI: ffffffff820d446a RDI: 0000000000000001 RBP: ffffc90004117c00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff888059112e20 R14: ffff888059112cd8 R15: ffff888059112e10 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3aed7d478 CR3: 0000000021d04000 CR4: 0000000000350ef0 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:1961 [inline] nilfs_segctor_do_construct+0x56f/0x7e50 fs/nilfs2/segment.c:2023 nilfs_segctor_construct+0x92d/0xb50 fs/nilfs2/segment.c:2381 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2489 [inline] nilfs_segctor_thread+0x392/0xe90 fs/nilfs2/segment.c:2573 kthread+0x2c4/0x3a0 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244