------------[ cut here ]------------ WARNING: CPU: 1 PID: 6491 at fs/buffer.c:1084 mark_buffer_dirty+0x325/0x4b0 Modules linked in: CPU: 1 PID: 6491 Comm: segctord Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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 52 c5 9a ff eb 80 e8 4b c5 9a ff <0f> 0b e9 27 fd ff ff e8 3f c5 9a ff 0f 0b e9 46 fd ff ff e8 33 c5 RSP: 0018:ffffc90002f97708 EFLAGS: 00010293 RAX: ffffffff81e59585 RBX: ffff8880753db808 RCX: ffff888022333b80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81e592a4 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888062668ae0 R13: dffffc0000000000 R14: 1ffff1100c4cd15c R15: ffff888064af2e10 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555710b5c8 CR3: 00000000643ef000 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:2000 [inline] nilfs_segctor_do_construct+0x332/0x6ea0 fs/nilfs2/segment.c:2062 nilfs_segctor_construct+0x181/0x6a0 fs/nilfs2/segment.c:2448 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2556 [inline] nilfs_segctor_thread+0x546/0x1220 fs/nilfs2/segment.c:2640 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300