------------[ cut here ]------------ WARNING: CPU: 0 PID: 15769 at fs/buffer.c:1084 mark_buffer_dirty+0x325/0x4b0 Modules linked in: CPU: 0 PID: 15769 Comm: segctord Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:mark_buffer_dirty+0x325/0x4b0 fs/buffer.c:1084 Code: 89 df e8 7e 8b e4 ff 48 8b 3b be 04 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 e7 7f fc ff e8 02 a3 9a ff eb 80 e8 fb a2 9a ff <0f> 0b e9 27 fd ff ff e8 ef a2 9a ff 0f 0b e9 46 fd ff ff e8 e3 a2 RSP: 0018:ffffc900015ef708 EFLAGS: 00010293 RAX: ffffffff81e5e295 RBX: ffff88814cc56008 RCX: ffff88807e2b0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81e5dfb4 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888060045e80 R13: dffffc0000000000 R14: 1ffff1100c008bd0 R15: ffff88807bb2ae10 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c3562d000 CR3: 000000006794a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_segctor_collect_dirty_files fs/nilfs2/segment.c:2006 [inline] nilfs_segctor_do_construct+0x32f/0x6e70 fs/nilfs2/segment.c:2068 nilfs_segctor_construct+0x181/0x6a0 fs/nilfs2/segment.c:2453 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2561 [inline] nilfs_segctor_thread+0x546/0x1220 fs/nilfs2/segment.c:2645 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287