------------[ cut here ]------------ WARNING: CPU: 1 PID: 3625 at fs/buffer.c:1081 mark_buffer_dirty+0x2c2/0x550 Modules linked in: CPU: 1 PID: 3625 Comm: segctord Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:mark_buffer_dirty+0x2c2/0x550 fs/buffer.c:1081 Code: 5d 41 5e 41 5f 5d c3 e8 8c c5 8d ff eb 05 e8 85 c5 8d ff 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f 5d e9 c3 89 e7 ff e8 6e c5 8d ff <0f> 0b e9 77 fd ff ff e8 62 c5 8d ff 48 ff cb e9 91 fe ff ff e8 55 RSP: 0018:ffffc90003f5f6e8 EFLAGS: 00010293 RAX: ffffffff81f90a82 RBX: ffff888074d4a001 RCX: ffff88801c5ebb00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003f5fc10 R08: ffffffff81f907f3 R09: ffffed100e9ee1d1 R10: ffffed100e9ee1d1 R11: 1ffff1100e9ee1d0 R12: 1ffff1100e9a99c5 R13: 1ffff1100e9a99c3 R14: ffff888074f70e80 R15: ffff888074d4ce18 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7826382cc CR3: 0000000020543000 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:1960 [inline] nilfs_segctor_do_construct+0x330/0x6fe0 fs/nilfs2/segment.c:2019 nilfs_segctor_construct+0x143/0x8d0 fs/nilfs2/segment.c:2375 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2483 [inline] nilfs_segctor_thread+0x534/0x1180 fs/nilfs2/segment.c:2566 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306