loop0: detected capacity change from 0 to 2048 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3607 at fs/nilfs2/dat.c:186 nilfs_dat_commit_end+0x49a/0x5f0 fs/nilfs2/dat.c:186 Modules linked in: CPU: 0 PID: 3607 Comm: syz-executor178 Not tainted 6.0.0-syzkaller-06205-gffb39098bf87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:nilfs_dat_commit_end+0x49a/0x5f0 fs/nilfs2/dat.c:186 Code: 41 5f e9 d9 22 59 fe e8 d4 22 59 fe 48 89 ee 4c 89 e7 e8 09 f0 ff ff eb db e8 c2 22 59 fe e8 d7 81 de fd eb b4 e8 b6 22 59 fe <0f> 0b 4d 89 ef e9 35 fd ff ff e8 a7 22 59 fe e8 bc 81 de fd e9 c6 RSP: 0018:ffffc90003b8f930 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802069c820 RCX: 0000000000000000 RDX: ffff888018e00000 RSI: ffffffff8321f2fa RDI: 0000000000000006 RBP: ffffc90003b8f9a0 R08: 0000000000000006 R09: ffffffff00000000 R10: 0000000000000003 R11: 0000000000000000 R12: ffff888071518158 R13: 0000000000000003 R14: ffffc90003b8f9b8 R15: ffffffff00000000 FS: 0000555556700300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcc06eee00 CR3: 0000000021fd4000 CR4: 0000000000350ef0 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:829 nilfs_evict_inode+0x14d/0x440 fs/nilfs2/inode.c:916 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1748 [inline] iput.part.0+0x55d/0x810 fs/inode.c:1774 iput+0x58/0x70 fs/inode.c:1764 do_unlinkat+0x41b/0x650 fs/namei.c:4304 __do_sys_unlink fs/namei.c:4345 [inline] __se_sys_unlink fs/namei.c:4343 [inline] __x64_sys_unlink+0xc6/0x110 fs/namei.c:4343 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:0x7f7f13620209 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:00007ffce7d767b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f7f13620209 RDX: 00007f7f13620209 RSI: 00007f7f135de703 RDI: 0000000020000080 RBP: 00007f7f135df9d0 R08: 0000000000000000 R09: 0000000000000000 R10: 00005555567002c0 R11: 0000000000000246 R12: 00007f7f135dfa60 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000