------------[ cut here ]------------ WARNING: CPU: 1 PID: 3634 at fs/buffer.c:1081 mark_buffer_dirty+0x2c2/0x550 Modules linked in: CPU: 1 PID: 3634 Comm: segctord Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:mark_buffer_dirty+0x2c2/0x550 fs/buffer.c:1081 Code: 5d 41 5e 41 5f 5d c3 e8 fc 75 8c ff eb 05 e8 f5 75 8c ff 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f 5d e9 03 76 e7 ff e8 de 75 8c ff <0f> 0b e9 77 fd ff ff e8 d2 75 8c ff 48 ff cb e9 91 fe ff ff e8 c5 RSP: 0018:ffffc90003c9f688 EFLAGS: 00010293 RAX: ffffffff81fe2452 RBX: ffff888079e7e301 RCX: ffff888020638000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003c9fbf0 R08: ffffffff81fe21c3 R09: ffffed100e51083b R10: ffffed100e51083b R11: 1ffff1100e51083a R12: 1ffff1100e5185c4 R13: 1ffff1100e5185c2 R14: ffff8880728841d0 R15: ffff8880728c2e10 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa230ab501d CR3: 0000000017dec000 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:1966 [inline] nilfs_segctor_do_construct+0x33a/0x6f80 fs/nilfs2/segment.c:2025 nilfs_segctor_construct+0x143/0x8d0 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x59e/0x11c0 fs/nilfs2/segment.c:2570 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306