loop0: detected capacity change from 0 to 4096 ntfs: volume version 3.1. ------------[ cut here ]------------ kernel BUG at fs/ntfs/inode.c:2536! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4863 Comm: syz.0.15 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ntfs_truncate+0x1f30/0x21c0 fs/ntfs/inode.c:2536 lr : ntfs_truncate+0x1f30/0x21c0 fs/ntfs/inode.c:2536 sp : ffff80001f6074d0 x29: ffff80001f6075b0 x28: 0000000000000710 x27: ffff0000e22b73d0 x26: ffff0000e22b73f8 x25: ffff0000e22b7410 x24: 000000000000000a x23: ffff0000ca7c8e00 x22: ffff0000e28e1160 x21: ffff0000e28e1160 x20: ffff0000e22b76f0 x19: ffff0000e22b7380 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80000947f354 x15: 00000000ffffffde x14: 0000000000ff0100 x13: ffffffffffffffff x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff800009480db4 x8 : ffff0000d5fa1b40 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008044e7c x2 : 0000000000000000 x1 : 00000000ffffffe4 x0 : 0000000000000000 Call trace: ntfs_truncate+0x1f30/0x21c0 fs/ntfs/inode.c:2536 ntfs_truncate_vfs fs/ntfs/inode.c:2862 [inline] ntfs_setattr+0x260/0x320 fs/ntfs/inode.c:2914 notify_change+0xa08/0xcd8 fs/attr.c:505 do_truncate+0x178/0x1f0 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x211c/0x26e4 fs/namei.c:3742 do_filp_open+0x164/0x330 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1280 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 17fffb2c 97bfdf1d d4210000 97bfdf1b (d4210000) ---[ end trace 327ea6df9c41fd0a ]---