------------[ cut here ]------------ WARNING: CPU: 0 PID: 7750 at fs/buffer.c:1173 mark_buffer_dirty+0x2c6/0x440 fs/buffer.c:1173 Modules linked in: CPU: 0 UID: 0 PID: 7750 Comm: segctord Not tainted 6.13.0-rc3-syzkaller-00193-ge9b8ffafd20a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:mark_buffer_dirty+0x2c6/0x440 fs/buffer.c:1173 Code: 4c 89 f7 e8 bc 58 dc ff 49 8b 3e be 20 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 97 de fb ff e8 d2 82 78 ff eb 8b e8 cb 82 78 ff 90 <0f> 0b 90 e9 82 fd ff ff e8 bd 82 78 ff 90 0f 0b 90 e9 a9 fd ff ff RSP: 0018:ffffc90003317750 EFLAGS: 00010293 RAX: ffffffff8226f0d5 RBX: ffff88805af1d401 RCX: ffff88807cb5bc00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8226ee53 R09: 1ffff1100aa05e91 R10: dffffc0000000000 R11: ffffed100aa05e92 R12: 1ffff1100b5e3c1b R13: 1ffff1100b5e3c1d R14: ffff88805502f488 R15: ffff88805af1e0d8 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555569f315c8 CR3: 0000000064472000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:2033 [inline] nilfs_segctor_do_construct+0x329/0x6ea0 fs/nilfs2/segment.c:2095 nilfs_segctor_construct+0x181/0x6b0 fs/nilfs2/segment.c:2479 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2587 [inline] nilfs_segctor_thread+0x69e/0xe80 fs/nilfs2/segment.c:2701 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