------------[ cut here ]------------ WARNING: CPU: 1 PID: 4237 at fs/buffer.c:1084 mark_buffer_dirty+0x325/0x4b0 Modules linked in: CPU: 1 PID: 4237 Comm: segctord Not tainted 5.15.155-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:mark_buffer_dirty+0x325/0x4b0 fs/buffer.c:1084 Code: 89 df e8 ce 93 e4 ff 48 8b 3b be 04 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 07 80 fc ff e8 b2 d0 9a ff eb 80 e8 ab d0 9a ff <0f> 0b e9 27 fd ff ff e8 9f d0 9a ff 0f 0b e9 46 fd ff ff e8 93 d0 RSP: 0018:ffffc90004897708 EFLAGS: 00010293 RAX: ffffffff81e58c35 RBX: ffff888073e50008 RCX: ffff888020260000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81e58954 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8880741c0658 R13: dffffc0000000000 R14: 1ffff1100e8380cb R15: ffff88807414ce18 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fec22a10988 CR3: 0000000062d5e000 CR4: 00000000003526e0 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+0x332/0x6ea0 fs/nilfs2/segment.c:2062 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2418 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2526 [inline] nilfs_segctor_thread+0x512/0x1130 fs/nilfs2/segment.c:2609 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300