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: 0 PID: 4867 Comm: syz.0.15 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 : ntfs_truncate+0x2034/0x224c fs/ntfs/inode.c:2536 lr : ntfs_truncate+0x2034/0x224c fs/ntfs/inode.c:2536 sp : ffff80001fae73d0 x29: ffff80001fae74b0 x28: dfff800000000000 x27: ffff0000e14b6b90 x26: 0000000000000000 x25: ffff0000e14b6bd0 x24: 000000000000000a x23: 0000000000000000 x22: ffff0000d57c3038 x21: ffff0000e7d95160 x20: ffff0000e14b6bb8 x19: ffff0000e14b6b40 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800009559c18 x15: 00000000ffffffde x14: ffff0000c2858000 x13: 0000000000ff0100 x12: ffffffffffffffff x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000c2858000 x8 : ffff80000955b784 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80000804605c x2 : 0000000000000000 x1 : 00000000ffffffe4 x0 : ffff0000e92f2d80 Call trace: ntfs_truncate+0x2034/0x224c 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+0xa34/0xcf8 fs/attr.c:505 do_truncate+0x1c0/0x28c fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x20c4/0x26cc fs/namei.c:3742 do_filp_open+0x1a8/0x3b4 fs/namei.c:3769 do_sys_openat2+0x128/0x3e0 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+0x1f0/0x240 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+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 Code: 17fffe5e 97bda2e1 d4210000 97bda2df (d4210000) ---[ end trace 7495932fda23726f ]---