------------[ cut here ]------------ WARNING: CPU: 1 PID: 13681 at fs/nilfs2/dat.c:193 nilfs_dat_commit_end+0x599/0x6a0 Modules linked in: CPU: 1 PID: 13681 Comm: syz-executor.2 Not tainted 6.2.0-rc5-syzkaller-00047-g7c46948a6e9c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 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 3b 3b fe e8 41 e8 af fd e9 da fc ff ff e8 07 3b 3b fe <0f> 0b e9 3c fc ff ff e8 fb 3a 3b fe e8 26 e8 af fd 43 80 7c 35 00 RSP: 0018:ffffc900037bf170 EFLAGS: 00010287 RAX: ffffffff8350a069 RBX: ffff888068cb81a0 RCX: 0000000000040000 RDX: ffffc90003181000 RSI: 000000000000b270 RDI: 000000000000b271 RBP: 0000000000000003 R08: ffffffff83509c9e R09: ffffed10065aed1b R10: ffffed10065aed1b R11: 1ffff110065aed1a R12: ffff8880229fc9a0 R13: 1ffff11007524b56 R14: 0000000072df0002 R15: ffff88807a276e80 FS: 00007eff569c8700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007eff569c7fc8 CR3: 0000000018bc4000 CR4: 00000000003506e0 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:1571 [inline] nilfs_btree_delete+0xf9e/0x1270 fs/nilfs2/btree.c:1602 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:0x7eff55c8c0c9 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:00007eff569c8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007eff55dabf80 RCX: 00007eff55c8c0c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000400 RBP: 00007eff55ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb6230fbf R14: 00007eff569c8300 R15: 0000000000022000