------------[ cut here ]------------ WARNING: CPU: 1 PID: 17579 at fs/nilfs2/dat.c:193 nilfs_dat_commit_end+0x5ac/0x6f8 Modules linked in: CPU: 1 PID: 17579 Comm: syz-executor.2 Not tainted 6.2.0-syzkaller-18300-g2ebd1fbb946d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_dat_commit_end+0x5ac/0x6f8 lr : nilfs_dat_commit_end+0x5a8/0x6f8 fs/nilfs2/dat.c:193 sp : ffff80002bd06f60 x29: ffff80002bd06f80 x28: 1fffe0001a9112a5 x27: 1fffe00018614796 x26: dfff800000000000 x25: 0000000000000003 x24: ffff0000d35b1a00 x23: 0000000000000003 x22: ffff0000d4889528 x21: ffff0000c30a3cb0 x20: ffff0000d4888000 x19: ffff0000c30a3c98 x18: ffff80002bd06b60 x17: ffff800015b8d000 x16: ffff800008269ec8 x15: 0000000000000000 x14: 1ffff00002b720af x13: dfff800000000000 x12: 0000000000040000 x11: 000000000003ffff x10: ffff80002300d000 x9 : ffff800009e1c8a0 x8 : 0000000000040000 x7 : ffff800009e4dac4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff0000d35b1000 x2 : ffff0000df867488 x1 : 0000000000000003 x0 : 0000000900000002 Call trace: nilfs_dat_commit_end+0x5ac/0x6f8 nilfs_bmap_commit_end_ptr fs/nilfs2/bmap.h:219 [inline] nilfs_btree_commit_delete fs/nilfs2/btree.c:1571 [inline] nilfs_btree_delete+0xf48/0x11bc 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+0x2a0/0x4c0 fs/nilfs2/bmap.c:297 nilfs_truncate_bmap+0x198/0x314 fs/nilfs2/inode.c:846 nilfs_truncate+0x1f8/0x404 fs/nilfs2/inode.c:876 nilfs_setattr+0x1d4/0x278 fs/nilfs2/inode.c:972 notify_change+0xc24/0xec0 fs/attr.c:482 do_truncate+0x1c0/0x28c fs/open.c:65 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x1fa4/0x2578 fs/namei.c:3714 do_filp_open+0x1bc/0x3cc fs/namei.c:3741 do_sys_openat2+0x128/0x3d8 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1337 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 7608 hardirqs last enabled at (7607): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:242 hardirqs last disabled at (7608): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (7232): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (7230): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---