------------[ cut here ]------------ WARNING: CPU: 0 PID: 2545 at fs/buffer.c:1183 mark_buffer_dirty+0x2e5/0x520 fs/buffer.c:1183 Modules linked in: CPU: 0 PID: 2545 Comm: segctord Not tainted 6.9.0-rc4-next-20240417-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:mark_buffer_dirty+0x2e5/0x520 fs/buffer.c:1183 Code: 89 df e8 de 8a dd ff 48 8b 3b be 04 00 00 00 5b 41 5e 41 5f 5d e9 7b 09 fc ff e8 c6 36 78 ff e9 73 ff ff ff e8 bc 36 78 ff 90 <0f> 0b 90 e9 61 fd ff ff e8 ae 36 78 ff 90 0f 0b 90 e9 88 fd ff ff RSP: 0018:ffffc90009947738 EFLAGS: 00010293 RAX: ffffffff821e26d4 RBX: ffff88804b44d301 RCX: ffff888022f98000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff821e2431 R09: 1ffff1100ee20691 R10: dffffc0000000000 R11: ffffed100ee20692 R12: 1ffff1100a9b31c1 R13: 1ffff1100a9b31c3 R14: ffff888077103488 R15: ffff888054d98e08 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0008e5000 CR3: 000000007f3de000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:1961 [inline] nilfs_segctor_do_construct+0x333/0x6b40 fs/nilfs2/segment.c:2023 nilfs_segctor_construct+0x14d/0x930 fs/nilfs2/segment.c:2381 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2489 [inline] nilfs_segctor_thread+0x540/0x1150 fs/nilfs2/segment.c:2573 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244