loop1: detected capacity change from 0 to 2048 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9561 at fs/nilfs2/dat.c:193 nilfs_dat_commit_end+0x599/0x6a0 Modules linked in: CPU: 0 PID: 9561 Comm: syz-executor.1 Not tainted 6.2.0-rc3-syzkaller-00165-gd9fc1511728c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:nilfs_dat_commit_end+0x599/0x6a0 fs/nilfs2/dat.c:193 Code: 48 89 ee 48 83 c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ab 7a 03 00 e8 16 57 3b fe e8 b1 03 b0 fd e9 da fc ff ff e8 07 57 3b fe <0f> 0b e9 3c fc ff ff e8 fb 56 3b fe e8 96 03 b0 fd 43 80 7c 35 00 RSP: 0018:ffffc90005397170 EFLAGS: 00010283 RAX: ffffffff835084f9 RBX: ffff88802afa61a0 RCX: 0000000000040000 RDX: ffffc9000b4f1000 RSI: 0000000000015ccd RDI: 0000000000015cce RBP: 0000000000000003 R08: ffffffff8350812e R09: ffffed1005e3fe9b R10: ffffed1005e3fe9b R11: 1ffff11005e3fe9a R12: ffff8880249f59a0 R13: 1ffff11005cb2d36 R14: 0000000072df0002 R15: ffff8880781f6e80 FS: 00007ffb9c67a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5893185058 CR3: 000000002ae9b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_bmap_commit_end_ptr fs/nilfs2/bmap.h:219 [inline] nilfs_btree_commit_delete fs/nilfs2/btree.c:1562 [inline] nilfs_btree_delete+0xf9e/0x1270 fs/nilfs2/btree.c:1593 nilfs_bmap_do_delete fs/nilfs2/bmap.c:176 [inline] nilfs_bmap_do_truncate fs/nilfs2/bmap.c:264 [inline] nilfs_bmap_truncate+0x2dd/0x520 fs/nilfs2/bmap.c:297 nilfs_truncate_bmap+0x214/0x400 fs/nilfs2/inode.c:846 nilfs_truncate+0x24c/0x4b0 fs/nilfs2/inode.c:876 nilfs_setattr+0x21b/0x2b0 fs/nilfs2/inode.c:972 notify_change+0xe50/0x1100 fs/attr.c:482 do_truncate+0x200/0x2f0 fs/open.c:65 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x272b/0x2dd0 fs/namei.c:3714 do_filp_open+0x264/0x4f0 fs/namei.c:3741 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_creat fs/open.c:1402 [inline] __se_sys_creat fs/open.c:1396 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1396 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ffb9b88c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007ffb9c67a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ffb9b9abf80 RCX: 00007ffb9b88c0c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200008c0 RBP: 00007ffb9b8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff3129ee2f R14: 00007ffb9c67a300 R15: 0000000000022000