------------[ cut here ]------------ WARNING: CPU: 1 PID: 5440 at fs/nilfs2/dat.c:200 nilfs_dat_commit_end+0x5b4/0x718 Modules linked in: CPU: 1 PID: 5440 Comm: syz.1.323 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : nilfs_dat_commit_end+0x5b4/0x718 lr : nilfs_dat_commit_end+0x5b0/0x718 fs/nilfs2/dat.c:200 sp : ffff8000213e7420 x29: ffff8000213e7440 x28: 1fffe0001988b2a9 x27: 1fffe0001c1af3d6 x26: dfff800000000000 x25: 0000000000000003 x24: ffff0000c1cd3980 x23: 0000000000000003 x22: ffff0000cc459548 x21: ffff0000cc458000 x20: ffff0000e0d79eb0 x19: ffff0000e0d79e98 x18: 0000000000000000 x17: 0000000000000002 x16: ffff80000824ebd0 x15: 00000000ffffffef x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000017bca x10: ffff800021049000 x9 : 0000000000017bcb x8 : ffff800009ce379c x7 : ffff800009d15efc x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff0000c1cd3000 x2 : ffff0000e6cc5bc8 x1 : 0000000000000003 x0 : 0000000009000002 Call trace: nilfs_dat_commit_end+0x5b4/0x718 nilfs_bmap_commit_end_ptr fs/nilfs2/bmap.h:219 [inline] nilfs_btree_commit_delete fs/nilfs2/btree.c:1577 [inline] nilfs_btree_delete+0xf48/0x11bc fs/nilfs2/btree.c:1608 nilfs_bmap_do_delete fs/nilfs2/bmap.c:184 [inline] nilfs_bmap_do_truncate fs/nilfs2/bmap.c:272 [inline] nilfs_bmap_truncate+0x2a0/0x4c0 fs/nilfs2/bmap.c:305 nilfs_truncate_bmap+0x198/0x314 fs/nilfs2/inode.c:850 nilfs_truncate+0x1f8/0x404 fs/nilfs2/inode.c:880 nilfs_setattr+0x1d4/0x278 fs/nilfs2/inode.c:994 notify_change+0xa34/0xcf8 fs/attr.c:505 do_truncate+0x1c0/0x28c fs/open.c:65 vfs_truncate+0x2e0/0x388 fs/open.c:111 do_sys_truncate+0xec/0x1b4 fs/open.c:134 __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __arm64_sys_truncate+0x5c/0x70 fs/open.c:144 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 254 hardirqs last enabled at (253): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (254): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (8): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (6): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace c7fc0672ac8b78bf ]---