------------[ cut here ]------------ WARNING: CPU: 1 PID: 25370 at fs/buffer.c:1188 mark_buffer_dirty+0x2dd/0x500 Modules linked in: CPU: 1 PID: 25370 Comm: segctord Not tainted 6.5.0-syzkaller-08262-gef2a0b7cdbc5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:mark_buffer_dirty+0x2dd/0x500 fs/buffer.c:1188 Code: df e8 27 91 df ff 48 8b 3b be 04 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 72 53 fc ff e8 5d d7 85 ff e9 71 ff ff ff e8 53 d7 85 ff <0f> 0b e9 6d fd ff ff e8 47 d7 85 ff 0f 0b e9 96 fd ff ff e8 3b d7 RSP: 0018:ffffc9000498f6b0 EFLAGS: 00010293 RAX: ffffffff82075cbd RBX: ffff88803c7d9a01 RCX: ffff888030785940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff82075a24 R09: 1ffff110078f0057 R10: dffffc0000000000 R11: ffffed10078f0058 R12: ffff88803c7802b8 R13: 1ffff110078fb5c4 R14: ffff88803c7dae20 R15: ffff88803c7dae10 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556b44788 CR3: 00000000173d9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:2000 [inline] nilfs_segctor_do_construct+0x352/0x6e30 fs/nilfs2/segment.c:2062 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2416 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2524 [inline] nilfs_segctor_thread+0x53a/0x1140 fs/nilfs2/segment.c:2607 kthread+0x2b8/0x350 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304