------------[ cut here ]------------ WARNING: CPU: 0 PID: 4621 at fs/nilfs2/dat.c:200 nilfs_dat_commit_end+0x5ac/0x6b0 fs/nilfs2/dat.c:200 Modules linked in: CPU: 0 PID: 4621 Comm: syz.4.78 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:nilfs_dat_commit_end+0x5ac/0x6b0 fs/nilfs2/dat.c:200 Code: 8b 34 24 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d e9 a8 4c 03 00 e8 53 25 6f fe e8 ae db f7 fd e9 b8 fc ff ff e8 44 25 6f fe <0f> 0b e9 16 fc ff ff e8 38 25 6f fe e8 93 db f7 fd e9 74 fe ff ff RSP: 0018:ffffc9000375f178 EFLAGS: 00010287 RAX: ffffffff83089edc RBX: ffff888024d741a0 RCX: 0000000000080000 RDX: ffffc9000d561000 RSI: 0000000000016494 RDI: 0000000000016495 RBP: 0000000000000003 R08: dffffc0000000000 R09: ffffed100e9eac1e R10: ffffed100e9eac1e R11: 1ffff1100e9eac1d R12: ffff88802ba9f0c8 R13: ffff88805fdd69e0 R14: 00000000003f0002 R15: ffff888061ea5ab0 FS: 00007f39ab2946c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f81e6263000 CR3: 000000001f37b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_dat_commit_update+0x24/0x40 fs/nilfs2/dat.c:250 nilfs_btree_commit_update_v+0x93/0x400 fs/nilfs2/btree.c:1960 nilfs_btree_commit_propagate_v fs/nilfs2/btree.c:2036 [inline] nilfs_btree_propagate_v fs/nilfs2/btree.c:2066 [inline] nilfs_btree_propagate+0x9af/0xd40 fs/nilfs2/btree.c:2110 nilfs_bmap_propagate+0x70/0x120 fs/nilfs2/bmap.c:345 nilfs_collect_file_data+0x4b/0xc0 fs/nilfs2/segment.c:587 nilfs_segctor_apply_buffers+0x15d/0x320 fs/nilfs2/segment.c:1049 nilfs_segctor_scan_file_dsync fs/nilfs2/segment.c:1138 [inline] nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1292 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1534 [inline] nilfs_segctor_do_construct+0x1882/0x6be0 fs/nilfs2/segment.c:2090 nilfs_construct_dsync_segment+0x5df/0x6e0 fs/nilfs2/segment.c:2375 do_writepages+0x48d/0x6d0 mm/page-writeback.c:2386 filemap_fdatawrite_wbc+0x1eb/0x240 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] filemap_write_and_wait_range+0xfa/0x380 mm/filemap.c:704 __generic_file_write_iter+0x3af/0x4e0 mm/filemap.c:3898 generic_file_write_iter+0xa6/0x1b0 mm/filemap.c:3944 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x712/0xd00 fs/read_write.c:594 ksys_write+0x14d/0x250 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f39ad02cbe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f39ab294038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f39ad253fa0 RCX: 00007f39ad02cbe9 RDX: 0000000000000050 RSI: 00002000000000c0 RDI: 0000000000000004 RBP: 00007f39ad0afe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f39ad254038 R14: 00007f39ad253fa0 R15: 00007ffff5ce9e08