loop0: detected capacity change from 0 to 2048 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3601 at fs/nilfs2/dat.c:186 nilfs_dat_commit_end+0x49a/0x5f0 fs/nilfs2/dat.c:186 Modules linked in: CPU: 0 PID: 3601 Comm: syz-executor256 Not tainted 6.1.0-rc1-next-20221021-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:nilfs_dat_commit_end+0x49a/0x5f0 fs/nilfs2/dat.c:186 Code: 41 5f e9 29 5c 57 fe e8 24 5c 57 fe 48 89 ee 4c 89 e7 e8 09 f0 ff ff eb db e8 12 5c 57 fe e8 4d 3e db fd eb b4 e8 06 5c 57 fe <0f> 0b 4d 89 ef e9 35 fd ff ff e8 f7 5b 57 fe e8 32 3e db fd e9 c6 RSP: 0018:ffffc90003bff928 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88801ec7c820 RCX: 0000000000000000 RDX: ffff88802251ba80 RSI: ffffffff8325392a RDI: 0000000000000006 RBP: ffffc90003bff998 R08: 0000000000000006 R09: ffffffff00000000 R10: 0000000000000003 R11: 000000000008c001 R12: ffff888073030158 R13: 0000000000000003 R14: ffffc90003bff9b0 R15: ffffffff00000000 FS: 0000555555ed9300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe2d66ae40 CR3: 0000000070664000 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_direct_delete+0x26c/0x2d0 fs/nilfs2/direct.c:157 nilfs_bmap_do_delete+0x225/0x2e0 fs/nilfs2/bmap.c:176 nilfs_bmap_do_truncate fs/nilfs2/bmap.c:264 [inline] nilfs_bmap_truncate+0x109/0x300 fs/nilfs2/bmap.c:297 nilfs_truncate_bmap+0x14a/0x360 fs/nilfs2/inode.c:846 nilfs_evict_inode+0x14d/0x440 fs/nilfs2/inode.c:933 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1747 [inline] iput.part.0+0x59b/0x880 fs/inode.c:1773 iput+0x58/0x70 fs/inode.c:1763 do_unlinkat+0x41b/0x650 fs/namei.c:4326 __do_sys_unlink fs/namei.c:4367 [inline] __se_sys_unlink fs/namei.c:4365 [inline] __x64_sys_unlink+0xc6/0x110 fs/namei.c:4365 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd850bec209 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdcfba5448 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fd850bec209 RDX: 00007fd850bec209 RSI: 00007fd850baa703 RDI: 0000000020000080 RBP: 00007fd850bab9d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000555555ed92c0 R11: 0000000000000246 R12: 00007fd850baba60 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000