loop0: detected capacity change from 0 to 2048 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4407 at fs/nilfs2/dat.c:200 nilfs_dat_commit_end+0x5b4/0x718 Modules linked in: CPU: 1 PID: 4407 Comm: syz.0.113 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 : ffff8000209b7420 x29: ffff8000209b7440 x28: 1fffe0001baff611 x27: 1fffe0001b5c3e26 x26: dfff800000000000 x25: 0000000000000003 x24: ffff0000dd8e4980 x23: 0000000000000003 x22: ffff0000dd7fb088 x21: ffff0000dd7f9b40 x20: ffff0000dae1f130 x19: ffff0000dae1f118 x18: 0000000000000000 x17: 0000000000000002 x16: ffff80000824ebd0 x15: 00000000ffffffef x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000028dc5 x10: ffff800020c09000 x9 : 0000000000028dc6 x8 : ffff800009ce379c x7 : ffff800009d15efc x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff0000dd8e4000 x2 : ffff0000dca69740 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: 7812 hardirqs last enabled at (7811): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (7812): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (7588): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (7588): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (7573): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (7573): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (7573): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (7573): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 48e6407866bceeb8 ]---