------------[ cut here ]------------ WARNING: CPU: 1 PID: 13063 at fs/buffer.c:1130 mark_buffer_dirty+0x2dd/0x500 Modules linked in: CPU: 1 PID: 13063 Comm: segctord Not tainted 6.4.0-rc5-syzkaller-00016-ga4d7d7011219 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:mark_buffer_dirty+0x2dd/0x500 fs/buffer.c:1130 Code: df e8 57 0e e0 ff 48 8b 3b be 04 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 22 69 fc ff e8 3d 39 88 ff e9 71 ff ff ff e8 33 39 88 ff <0f> 0b e9 6d fd ff ff e8 27 39 88 ff 0f 0b e9 96 fd ff ff e8 1b 39 RSP: 0018:ffffc9000647f2d8 EFLAGS: 00010293 RAX: ffffffff820345fd RBX: ffff8880757f4701 RCX: ffff88801fae1dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff82034364 R09: ffffed1007b400cc R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803da00658 R13: ffff88801fae3534 R14: 1ffff110059a66a9 R15: ffff88802cd33538 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f812f006c00 CR3: 000000000cd30000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_palloc_commit_alloc_entry+0x4b/0x160 fs/nilfs2/alloc.c:585 nilfs_dat_commit_alloc+0x1ac/0x2c0 fs/nilfs2/dat.c:102 nilfs_btree_commit_update_v+0x9b/0x3f0 fs/nilfs2/btree.c:1949 nilfs_btree_commit_propagate_v fs/nilfs2/btree.c:2022 [inline] nilfs_btree_propagate_v fs/nilfs2/btree.c:2055 [inline] nilfs_btree_propagate+0xa10/0xde0 fs/nilfs2/btree.c:2097 nilfs_bmap_propagate+0x71/0x120 fs/nilfs2/bmap.c:345 nilfs_segctor_apply_buffers+0x180/0x330 fs/nilfs2/segment.c:1039 nilfs_segctor_scan_file+0x7e9/0xa10 fs/nilfs2/segment.c:1099 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1197 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1524 [inline] nilfs_segctor_do_construct+0x1c74/0x6d30 fs/nilfs2/segment.c:2070 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2404 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2512 [inline] nilfs_segctor_thread+0x53a/0x1140 fs/nilfs2/segment.c:2595 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308