------------[ cut here ]------------ kernel BUG at fs/ntfs/file.c:497! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10345 Comm: syz.2.1009 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:497 [inline] RIP: 0010:ntfs_perform_write+0x8024/0x8280 fs/ntfs/file.c:1837 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c d2 f2 ff ff 48 89 df e8 7d 1c 2a ff e9 c5 f2 ff ff e8 43 44 e0 fe 0f 0b e8 3c 44 e0 fe <0f> 0b e8 35 44 e0 fe 0f 0b e8 2e 44 e0 fe 0f 0b e8 27 44 e0 fe 0f RSP: 0018:ffffc9000117f780 EFLAGS: 00010293 RAX: ffffffff82a02f64 RBX: 0000000000000000 RCX: ffff88802a9e1dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000117fbb8 R08: ffffffff829fb4a9 R09: fffff9400029d717 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea00014eb880 R13: 0000000000000000 R14: ffffc9000117fd90 R15: 0000000000000000 FS: 00007f72c42606c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c330764 CR3: 0000000069dc8000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_file_write_iter+0x15a6/0x1fa0 fs/ntfs/file.c:1921 call_write_iter include/linux/fs.h:2174 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacd/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f72c63e8819 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:00007f72c4260038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f72c659ffa0 RCX: 00007f72c63e8819 RDX: 0000000000000090 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00007f72c4260090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f72c659ffa0 R15: 00007ffe1faaae48 Modules linked in: ---[ end trace 335cf96138b4c783 ]--- RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:497 [inline] RIP: 0010:ntfs_perform_write+0x8024/0x8280 fs/ntfs/file.c:1837 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c d2 f2 ff ff 48 89 df e8 7d 1c 2a ff e9 c5 f2 ff ff e8 43 44 e0 fe 0f 0b e8 3c 44 e0 fe <0f> 0b e8 35 44 e0 fe 0f 0b e8 2e 44 e0 fe 0f 0b e8 27 44 e0 fe 0f RSP: 0018:ffffc9000117f780 EFLAGS: 00010293 RAX: ffffffff82a02f64 RBX: 0000000000000000 RCX: ffff88802a9e1dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000117fbb8 R08: ffffffff829fb4a9 R09: fffff9400029d717 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea00014eb880 R13: 0000000000000000 R14: ffffc9000117fd90 R15: 0000000000000000 FS: 00007f72c42606c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d465029950 CR3: 0000000069dc8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400