------------[ cut here ]------------ WARNING: CPU: 1 PID: 4269 at fs/buffer.c:1081 mark_buffer_dirty+0x117/0x240 fs/buffer.c:1081 Modules linked in: CPU: 1 PID: 4269 Comm: segctord Not tainted 6.2.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:mark_buffer_dirty+0x117/0x240 fs/buffer.c:1081 Code: 1f 44 00 00 48 89 df 4c 89 f6 31 d2 e8 32 a5 ea ff 48 89 df e8 da a4 f8 ff 49 8b 3e be 04 00 00 00 5b 41 5e e9 7a d1 fe ff 90 <0f> 0b 90 e9 f4 fe ff ff 90 0f 0b 90 e9 03 ff ff ff e8 23 c2 c8 ff RSP: 0018:ffffc90002963ad8 EFLAGS: 00010246 RAX: 0000000080000000 RBX: ffff8881120759d8 RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffffc90002963b30 RDI: ffff8881120759d8 RBP: 0000000000000000 R08: ffff8881141c1000 R09: ffff88810c198e70 R10: 0000000000000000 R11: ffff888110670ed0 R12: ffff888114068000 R13: ffffc90002963c58 R14: ffff8881121018d8 R15: ffffc90002963b30 FS: 0000000000000000(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcc0353c88 CR3: 0000000102744000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_palloc_commit_alloc_entry+0x16/0x60 fs/nilfs2/alloc.c:585 nilfs_dat_commit_alloc+0x92/0xe0 fs/nilfs2/dat.c:102 nilfs_direct_propagate+0xc2/0x120 fs/nilfs2/direct.c:277 nilfs_bmap_propagate+0x2e/0x80 fs/nilfs2/bmap.c:337 nilfs_collect_file_data+0x1e/0x50 fs/nilfs2/segment.c:568 nilfs_segctor_apply_buffers+0x6e/0xe0 fs/nilfs2/segment.c:1018 nilfs_segctor_scan_file+0x2c8/0x390 fs/nilfs2/segment.c:1067 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1176 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1503 [inline] nilfs_segctor_do_construct+0x82a/0x1d20 fs/nilfs2/segment.c:2045 nilfs_segctor_construct+0x74/0x230 fs/nilfs2/segment.c:2379 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2487 [inline] nilfs_segctor_thread+0x18e/0x430 fs/nilfs2/segment.c:2570 kthread+0xe3/0x100 kernel/kthread.c:376 ret_from_fork+0x29/0x50 arch/x86/entry/entry_64.S:308