RBP: 00007ffc95dcecd0 R08: 0000000000000002 R09: 00007ffc95dcece0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00007f02fa056358 R14: 00007f02fa0561b0 R15: 0000000000000000 ------------[ cut here ]------------ kernel BUG at fs/ntfs/file.c:493! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3603 Comm: syz-executor246 Not tainted 6.1.0-rc1-next-20221021-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:493 [inline] RIP: 0010:ntfs_perform_write.isra.0+0x18ee/0x35d0 fs/ntfs/file.c:1833 Code: ad 1c 00 00 48 8b 44 24 20 31 ff 48 8b 58 10 48 89 de e8 25 18 dd fe 48 85 db 0f 85 1a e9 ff ff e9 35 ec ff ff e8 22 1b dd fe <0f> 0b e8 1b 1b dd fe 48 8b 84 24 50 01 00 00 48 8d 78 18 48 89 44 RSP: 0018:ffffc90003cffa70 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801f758000 RSI: ffffffff829f7a0e RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc90003cffbb8 R13: ffffea0001c05e00 R14: 0000000000000000 R15: dffffc0000000000 FS: 00005555564f3300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f02fa0e9130 CR3: 00000000774e3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_file_write_iter+0x5bc/0x1ff0 fs/ntfs/file.c:1917 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x9e9/0xdd0 fs/read_write.c:584 ksys_write+0x127/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f02fa011f29 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc95dceca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f02fa011f29 RDX: 000000000000fdef RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00007ffc95dcecd0 R08: 0000000000000002 R09: 00007ffc95dcece0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00007f02fa056358 R14: 00007f02fa0561b0 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ntfs_grab_cache_pages fs/ntfs/file.c:493 [inline] RIP: 0010:ntfs_perform_write.isra.0+0x18ee/0x35d0 fs/ntfs/file.c:1833 Code: ad 1c 00 00 48 8b 44 24 20 31 ff 48 8b 58 10 48 89 de e8 25 18 dd fe 48 85 db 0f 85 1a e9 ff ff e9 35 ec ff ff e8 22 1b dd fe <0f> 0b e8 1b 1b dd fe 48 8b 84 24 50 01 00 00 48 8d 78 18 48 89 44 RSP: 0018:ffffc90003cffa70 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88801f758000 RSI: ffffffff829f7a0e RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc90003cffbb8 R13: ffffea0001c05e00 R14: 0000000000000000 R15: dffffc0000000000 FS: 00005555564f3300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559517295088 CR3: 00000000774e3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400