------------[ cut here ]------------ kernel BUG at fs/ntfs/file.c:497! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 17070 Comm: syz.1.1246 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 75 2a ff e9 c5 f2 ff ff e8 b3 ac e0 fe 0f 0b e8 ac ac e0 fe <0f> 0b e8 a5 ac e0 fe 0f 0b e8 9e ac e0 fe 0f 0b e8 97 ac e0 fe 0f RSP: 0018:ffffc900032f7780 EFLAGS: 00010293 RAX: ffffffff829fb4f4 RBX: 0000000000000000 RCX: ffff888020f71dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900032f7bb8 R08: ffffffff829f3a39 R09: fffff94000302a17 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001815080 R13: 0000000000000000 R14: ffffc900032f7d90 R15: 0000000000000000 FS: 00007fa5968b86c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fd20218 CR3: 00000000736a4000 CR4: 00000000003506e0 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:2172 [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:0x7fa59843beb9 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:00007fa5968b8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa5985d7f80 RCX: 00007fa59843beb9 RDX: 0000000000000150 RSI: 0000000020002200 RDI: 0000000000000004 RBP: 00007fa5968b8090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007fa5985d7f80 R15: 00007ffcd9e889d8 Modules linked in: ---[ end trace 970cfff54f0c7516 ]--- 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 75 2a ff e9 c5 f2 ff ff e8 b3 ac e0 fe 0f 0b e8 ac ac e0 fe <0f> 0b e8 a5 ac e0 fe 0f 0b e8 9e ac e0 fe 0f 0b e8 97 ac e0 fe 0f RSP: 0018:ffffc900032f7780 EFLAGS: 00010293 RAX: ffffffff829fb4f4 RBX: 0000000000000000 RCX: ffff888020f71dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900032f7bb8 R08: ffffffff829f3a39 R09: fffff94000302a17 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001815080 R13: 0000000000000000 R14: ffffc900032f7d90 R15: 0000000000000000 FS: 00007fa5968b86c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc5a496ee8 CR3: 00000000736a4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400