------------[ cut here ]------------ kernel BUG at mm/memory.c:2210! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3614 Comm: syz-executor282 Not tainted 5.19.0-rc4-syzkaller-00187-g089866061428 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:vmf_insert_pfn_prot+0x248/0x460 mm/memory.c:2210 Code: 0f 0b e8 3b e7 c6 ff 4d 89 f7 bf 20 00 00 00 41 83 e7 28 4c 89 fe e8 87 e3 c6 ff 49 83 ff 20 0f 85 a5 fe ff ff e8 18 e7 c6 ff <0f> 0b 49 be ff ff ff ff ff ff 0f 00 e8 07 e7 c6 ff 4d 21 ee 4c 89 RSP: 0018:ffffc9000345f5b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 1ffff9200068beb8 RCX: 0000000000000000 RDX: ffff88801ddfbb00 RSI: ffffffff81b37f98 RDI: 0000000000000007 RBP: ffff888016ef6420 R08: 0000000000000007 R09: 0000000000000020 R10: 0000000000000020 R11: 0000000000000001 R12: 0000000020002000 R13: 000000000001cd71 R14: 000000000c140476 R15: 0000000000000020 FS: 0000555556b3d300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 000000007ef72000 CR4: 0000000000350ef0 Call Trace: drm_gem_shmem_fault+0x1e3/0x290 drivers/gpu/drm/drm_gem_shmem_helper.c:561 __do_fault+0x10d/0x650 mm/memory.c:4165 do_read_fault mm/memory.c:4511 [inline] do_fault mm/memory.c:4640 [inline] handle_pte_fault mm/memory.c:4903 [inline] __handle_mm_fault+0x2739/0x3f50 mm/memory.c:5042 handle_mm_fault+0x1c8/0x790 mm/memory.c:5140 do_user_addr_fault+0x489/0x11c0 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1484 [inline] exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1540 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:fault_in_readable+0x175/0x290 mm/gup.c:1825 Code: a8 c9 ff 49 39 dd 0f 84 06 01 00 00 45 31 f6 eb 11 e8 4f a8 c9 ff 48 81 c3 00 10 00 00 4c 39 eb 74 1d e8 3e a8 c9 ff 45 89 f7 <8a> 03 31 ff 44 89 fe 88 44 24 28 e8 6b a4 c9 ff 45 85 ff 74 d2 e8 RSP: 0018:ffffc9000345f9e0 EFLAGS: 00050293 RAX: 0000000000000000 RBX: 0000000020002000 RCX: 0000000000000000 RDX: ffff88801ddfbb00 RSI: ffffffff81b0be72 RDI: 0000000000000005 RBP: 0000000020001040 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000001000 R13: 0000000020003000 R14: 0000000000000000 R15: 0000000000000000 fault_in_iov_iter_readable lib/iov_iter.c:458 [inline] fault_in_iov_iter_readable+0x11f/0x1f0 lib/iov_iter.c:444 generic_perform_write+0x19e/0x560 mm/filemap.c:3769 ext4_buffered_write_iter+0x15b/0x330 fs/ext4/file.c:270 ext4_file_write_iter+0x43c/0x1520 fs/ext4/file.c:679 call_write_iter include/linux/fs.h:2058 [inline] new_sync_write+0x38a/0x560 fs/read_write.c:504 vfs_write+0x7c0/0xac0 fs/read_write.c:591 ksys_write+0x127/0x250 fs/read_write.c:644 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+0x46/0xb0 RIP: 0033:0x7f9b446c1b89 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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:00007ffc6c1fe898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9b446c1b89 RDX: 000000000000fea7 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f9b44685d30 R08: 00000000000a9000 R09: 0000000000000000 R10: 00000000000a9000 R11: 0000000000000246 R12: 00007f9b44685dc0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vmf_insert_pfn_prot+0x248/0x460 mm/memory.c:2210 Code: 0f 0b e8 3b e7 c6 ff 4d 89 f7 bf 20 00 00 00 41 83 e7 28 4c 89 fe e8 87 e3 c6 ff 49 83 ff 20 0f 85 a5 fe ff ff e8 18 e7 c6 ff <0f> 0b 49 be ff ff ff ff ff ff 0f 00 e8 07 e7 c6 ff 4d 21 ee 4c 89 RSP: 0018:ffffc9000345f5b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 1ffff9200068beb8 RCX: 0000000000000000 RDX: ffff88801ddfbb00 RSI: ffffffff81b37f98 RDI: 0000000000000007 RBP: ffff888016ef6420 R08: 0000000000000007 R09: 0000000000000020 R10: 0000000000000020 R11: 0000000000000001 R12: 0000000020002000 R13: 000000000001cd71 R14: 000000000c140476 R15: 0000000000000020 FS: 0000555556b3d300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 000000007ef72000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: a8 c9 test $0xc9,%al 2: ff 49 39 decl 0x39(%rcx) 5: dd 0f fisttpll (%rdi) 7: 84 06 test %al,(%rsi) 9: 01 00 add %eax,(%rax) b: 00 45 31 add %al,0x31(%rbp) e: f6 eb imul %bl 10: 11 e8 adc %ebp,%eax 12: 4f a8 c9 rex.WRXB test $0xc9,%al 15: ff 48 81 decl -0x7f(%rax) 18: c3 retq 19: 00 10 add %dl,(%rax) 1b: 00 00 add %al,(%rax) 1d: 4c 39 eb cmp %r13,%rbx 20: 74 1d je 0x3f 22: e8 3e a8 c9 ff callq 0xffc9a865 27: 45 89 f7 mov %r14d,%r15d * 2a: 8a 03 mov (%rbx),%al <-- trapping instruction 2c: 31 ff xor %edi,%edi 2e: 44 89 fe mov %r15d,%esi 31: 88 44 24 28 mov %al,0x28(%rsp) 35: e8 6b a4 c9 ff callq 0xffc9a4a5 3a: 45 85 ff test %r15d,%r15d 3d: 74 d2 je 0x11 3f: e8 .byte 0xe8