loop1: detected capacity change from 0 to 4096 ntfs: volume version 3.1. ------------[ cut here ]------------ kernel BUG at fs/ntfs/file.c:493! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6217 Comm: syz.1.88 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:493 [inline] RIP: 0010:ntfs_perform_write+0x7861/0x79d0 fs/ntfs/file.c:1833 Code: d5 86 c7 fe 0f 0b e8 ce 86 c7 fe 48 8b 7c 24 20 48 c7 c6 80 d6 dc 8a e8 ad 5a 07 ff 0f 0b e8 b6 86 c7 fe 0f 0b e8 af 86 c7 fe <0f> 0b e8 a8 86 c7 fe 0f 0b e8 a1 86 c7 fe 0f 0b 89 d9 80 e1 07 38 RSP: 0018:ffffc9000b51f6c0 EFLAGS: 00010293 RAX: ffffffff82be0a11 RBX: 0000000000000000 RCX: ffff88802c2c1e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000b51fb00 R08: ffff88802c2c1e00 R09: 0000000000000002 R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000 R13: 000000000000000c R14: ffffc9000b51fe40 R15: 0000000000000001 FS: 00007f7a743126c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000c076 CR3: 00000000793c5000 CR4: 00000000003506e0 Call Trace: ntfs_file_write_iter+0x109d/0x19c0 fs/ntfs/file.c:1916 do_iter_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x79a/0xc70 fs/read_write.c:860 vfs_writev fs/read_write.c:933 [inline] do_pwritev+0x205/0x340 fs/read_write.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7a7338f749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7a74312038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f7a735e5fa0 RCX: 00007f7a7338f749 RDX: 0000000000000001 RSI: 00002000000001c0 RDI: 0000000000000004 RBP: 00007f7a73413f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e7b R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7a735e6038 R14: 00007f7a735e5fa0 R15: 00007ffd2bf0dc68 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:493 [inline] RIP: 0010:ntfs_perform_write+0x7861/0x79d0 fs/ntfs/file.c:1833 Code: d5 86 c7 fe 0f 0b e8 ce 86 c7 fe 48 8b 7c 24 20 48 c7 c6 80 d6 dc 8a e8 ad 5a 07 ff 0f 0b e8 b6 86 c7 fe 0f 0b e8 af 86 c7 fe <0f> 0b e8 a8 86 c7 fe 0f 0b e8 a1 86 c7 fe 0f 0b 89 d9 80 e1 07 38 RSP: 0018:ffffc9000b51f6c0 EFLAGS: 00010293 RAX: ffffffff82be0a11 RBX: 0000000000000000 RCX: ffff88802c2c1e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000b51fb00 R08: ffff88802c2c1e00 R09: 0000000000000002 R10: 0000000000000005 R11: 0000000000000000 R12: dffffc0000000000 R13: 000000000000000c R14: ffffc9000b51fe40 R15: 0000000000000001 FS: 00007f7a743126c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000793c5000 CR4: 00000000003506f0