------------[ cut here ]------------ WARNING: CPU: 0 PID: 4470 at fs/nilfs2/dat.c:200 nilfs_dat_commit_end+0x59c/0x6a0 Modules linked in: CPU: 0 PID: 4470 Comm: syz.1.55 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:nilfs_dat_commit_end+0x59c/0x6a0 fs/nilfs2/dat.c:200 Code: 48 89 ee 48 83 c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d e9 d8 86 03 00 e8 33 af 59 fe e8 2e c8 d9 fd e9 d8 fc ff ff e8 24 af 59 fe <0f> 0b e9 39 fc ff ff e8 18 af 59 fe e8 13 c8 d9 fd 43 80 7c 35 00 RSP: 0018:ffffc90004546a88 EFLAGS: 00010287 RAX: ffffffff8326c47c RBX: ffff888029f6f1a0 RCX: 0000000000080000 RDX: ffffc900054c9000 RSI: 000000000001c9d7 RDI: 000000000001c9d8 RBP: 0000000000000003 R08: ffffffff8326c0ae R09: ffffed100c50b4af R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802496b980 R13: 1ffff1100b465966 R14: 0000000009000002 R15: ffff888029cc1788 FS: 00007f24425b26c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c327ffc CR3: 000000007543a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_dat_commit_update+0x25/0x40 fs/nilfs2/dat.c:250 nilfs_btree_commit_update_v+0x9b/0x3f0 fs/nilfs2/btree.c:1960 nilfs_btree_commit_propagate_v fs/nilfs2/btree.c:2033 [inline] nilfs_btree_propagate_v fs/nilfs2/btree.c:2066 [inline] nilfs_btree_propagate+0xa0c/0xde0 fs/nilfs2/btree.c:2108 nilfs_bmap_propagate+0x6d/0x120 fs/nilfs2/bmap.c:345 nilfs_collect_file_data+0x49/0xc0 fs/nilfs2/segment.c:587 nilfs_segctor_apply_buffers+0x180/0x330 fs/nilfs2/segment.c:1047 nilfs_segctor_scan_file_dsync fs/nilfs2/segment.c:1136 [inline] nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1290 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1532 [inline] nilfs_segctor_do_construct+0x1876/0x6e70 fs/nilfs2/segment.c:2088 nilfs_construct_dsync_segment+0x5c0/0x6c0 fs/nilfs2/segment.c:2373 do_writepages+0x481/0x730 mm/page-writeback.c:2386 filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] filemap_write_and_wait_range+0x19e/0x280 mm/filemap.c:704 __generic_file_write_iter+0x3ae/0x4f0 mm/filemap.c:3898 generic_file_write_iter+0xa7/0x1b0 mm/filemap.c:3944 do_iter_readv_writev+0x594/0x7a0 do_iter_write+0x1e6/0x760 fs/read_write.c:855 iter_file_splice_write+0x806/0xfa0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe3/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x500/0xc10 fs/splice.c:891 do_splice_direct+0x285/0x3d0 fs/splice.c:979 do_sendfile+0x622/0x1000 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1303 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f244473a819 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:00007f24425b2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f24448f1fa0 RCX: 00007f244473a819 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f24447ad75e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f24448f1fa0 R15: 00007ffe5e077548