------------[ cut here ]------------ WARNING: CPU: 0 PID: 5016 at fs/nilfs2/dat.c:200 nilfs_dat_commit_end+0x5ac/0x6b0 fs/nilfs2/dat.c:200 Modules linked in: CPU: 0 PID: 5016 Comm: syz.1.199 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:ffffc90002f4f178 EFLAGS: 00010287 RAX: ffffffff83089edc RBX: ffff88802a4b61a0 RCX: 0000000000080000 RDX: ffffc900039b2000 RSI: 000000000002b580 RDI: 000000000002b581 RBP: 0000000000000003 R08: dffffc0000000000 R09: ffffed100c07161e R10: ffffed100c07161e R11: 1ffff1100c07161d R12: ffff888028805308 R13: ffff88805faf49e0 R14: 00000000003f0002 R15: ffff888029820fb0 FS: 00007fb1d4bf46c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000056030 CR3: 0000000058444000 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:0x7fb1d698cbe9 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:00007fb1d4bf4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb1d6bb3fa0 RCX: 00007fb1d698cbe9 RDX: 0000000000000050 RSI: 00002000000000c0 RDI: 0000000000000004 RBP: 00007fb1d6a0fe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb1d6bb4038 R14: 00007fb1d6bb3fa0 R15: 00007ffda198b2f8