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: 4894 Comm: syz.0.15 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 : ffff8000201e73d0 x29: ffff8000201e74b0 x28: dfff800000000000 x27: ffff0000e144f3d0 x26: 0000000000000000 x25: ffff0000e144f410 x24: 000000000000000a x23: 0000000000000000 x22: ffff0000d7f8f038 x21: ffff0000e7230160 x20: ffff0000e144f3f8 x19: ffff0000e144f380 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80000955adc8 x15: 00000000ffffffde x14: ffff0000ccb11b40 x13: 0000000000ff0100 x12: ffffffffffffffff x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000ccb11b40 x8 : ffff80000955c934 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80000804605c x2 : 0000000000000000 x1 : 00000000ffffffe4 x0 : ffff0000c8f2fe00 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 97bda564 d4210000 97bda562 (d4210000) ---[ end trace 019805f07dee9e03 ]---