loop0: detected capacity change from 0 to 2048 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4168 at fs/nilfs2/dat.c:200 nilfs_dat_commit_end+0x5ac/0x6b0 fs/nilfs2/dat.c:200 Modules linked in: CPU: 1 PID: 4168 Comm: syz-executor156 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 33 1c 6e fe e8 8e d4 f6 fd e9 b8 fc ff ff e8 24 1c 6e fe <0f> 0b e9 16 fc ff ff e8 18 1c 6e fe e8 73 d4 f6 fd e9 74 fe ff ff RSP: 0018:ffffc90002daeb38 EFLAGS: 00010293 RAX: ffffffff8309a5fc RBX: ffff88814c3651a0 RCX: ffff88807a795940 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000009000002 RBP: 0000000000000003 R08: dffffc0000000000 R09: ffffed100e1c981e R10: ffffed100e1c981e R11: 1ffff1100e1c981d R12: ffff88807a7970c8 R13: ffff88807f009980 R14: 0000000009000002 R15: ffff88801abebc30 FS: 000055556acba380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4315bcd0f8 CR3: 0000000022a70000 CR4: 00000000003506e0 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:2033 [inline] nilfs_btree_propagate_v fs/nilfs2/btree.c:2066 [inline] nilfs_btree_propagate+0x974/0xd40 fs/nilfs2/btree.c:2108 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 do_iter_readv_writev+0x497/0x600 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 iter_file_splice_write+0x65f/0xc40 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe1/0x130 fs/splice.c:936 splice_direct_to_actor+0x4dc/0xb50 fs/splice.c:891 do_splice_direct+0x1b9/0x2c0 fs/splice.c:979 do_sendfile+0x5d5/0xec0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64+0x13b/0x190 fs/read_write.c:1303 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:0x7f4315b55ad9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe57958648 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0032656c69662f2e RCX: 00007f4315b55ad9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f4315bc95f0 R08: 000055556acbb4c0 R09: 000055556acbb4c0 R10: 0000000000fffe80 R11: 0000000000000246 R12: 00007ffe57958670 R13: 00007ffe57958898 R14: 431bde82d7b634db R15: 00007f4315b9e03b