------------[ cut here ]------------ WARNING: CPU: 1 PID: 3619 at fs/buffer.c:1081 mark_buffer_dirty+0x2c2/0x550 Modules linked in: CPU: 1 PID: 3619 Comm: segctord Not tainted 6.1.0-rc1-syzkaller-00427-gd47136c28015 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:mark_buffer_dirty+0x2c2/0x550 fs/buffer.c:1081 Code: 5d 41 5e 41 5f 5d c3 e8 1c b5 8c ff eb 05 e8 15 b5 8c ff 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f 5d e9 03 7a e7 ff e8 fe b4 8c ff <0f> 0b e9 77 fd ff ff e8 f2 b4 8c ff 48 ff cb e9 91 fe ff ff e8 e5 RSP: 0018:ffffc90003caf688 EFLAGS: 00010293 RAX: ffffffff81fb1a32 RBX: ffff888023c7b301 RCX: ffff8880208c57c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003cafbf0 R08: ffffffff81fb17a3 R09: ffffed100e2b14cc R10: ffffed100e2b14cc R11: 1ffff1100e2b14cb R12: 1ffff1100e8bf5c4 R13: 1ffff1100e8bf5c2 R14: ffff88807158a658 R15: ffff8880745fae10 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555568925d0 CR3: 00000000266cd000 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