------------[ cut here ]------------ kernel BUG at mm/memory.c:2163! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 15554 Comm: syz-executor.0 Not tainted 6.3.0-rc6-syzkaller-00035-g0bcc40255504 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:vmf_insert_pfn_prot+0x42c/0x450 mm/memory.c:2163 Code: ff 89 de e8 36 3d bf ff 45 84 e4 74 2b e8 9c 3a bf ff e9 54 fd ff ff e8 92 3a bf ff 0f 0b e8 8b 3a bf ff 0f 0b e8 84 3a bf ff <0f> 0b e8 cd 1c d3 08 e8 78 3a bf ff 0f 0b e8 71 3a bf ff 0f 0b 66 RSP: 0018:ffffc900166e7320 EFLAGS: 00010287 RAX: ffffffff81cb2e5c RBX: 0000000000000420 RCX: 0000000000040000 RDX: ffffc90003d81000 RSI: 000000000002fe8f RDI: 000000000002fe90 RBP: ffffc900166e73e0 R08: ffffffff81cb2b34 R09: ffffffff81cb2b08 R10: 0000000000000002 R11: ffff888024503a80 R12: 000000000c040471 R13: ffff88802aefc000 R14: ffffc900166e7360 R15: 0000000000146a1b FS: 00007ff219a0e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 0000000021a8a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: drm_gem_shmem_fault+0x1dd/0x240 drivers/gpu/drm/drm_gem_shmem_helper.c:559 __do_fault+0x136/0x500 mm/memory.c:4155 do_read_fault mm/memory.c:4506 [inline] do_fault mm/memory.c:4635 [inline] handle_pte_fault mm/memory.c:4923 [inline] __handle_mm_fault mm/memory.c:5065 [inline] handle_mm_fault+0x3357/0x51c0 mm/memory.c:5211 do_user_addr_fault arch/x86/mm/fault.c:1407 [inline] handle_page_fault arch/x86/mm/fault.c:1498 [inline] exc_page_fault+0x5b1/0x7c0 arch/x86/mm/fault.c:1554 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:fault_in_readable+0x16a/0x350 mm/gup.c:1856 Code: 00 00 00 0f 01 cb 0f ae e8 49 81 e6 ff 0f 00 00 31 ff 4c 89 f6 e8 d6 f4 c0 ff 48 8b 4c 24 08 48 89 c8 48 25 ff 0f 00 00 74 30 <8a> 19 e8 7f f0 c0 ff 43 0f b6 04 2f 84 c0 0f 85 83 01 00 00 88 5c RSP: 0018:ffffc900166e7880 EFLAGS: 00050202 RAX: 0000000000000380 RBX: 00007fffffffe000 RCX: 00000000200e7380 RDX: ffffc90003d81000 RSI: 0000000000000380 RDI: 0000000000000000 RBP: ffffc900166e7938 R08: ffffffff81c9784a R09: ffffffff842dae39 R10: 0000000000000002 R11: ffff888024503a80 R12: 0000000000001000 R13: dffffc0000000000 R14: 0000000000000380 R15: 1ffff92002cdcf18 fault_in_iov_iter_readable+0xdf/0x280 lib/iov_iter.c:350 generic_perform_write+0x20b/0x5e0 mm/filemap.c:3916 ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:289 ext4_file_write_iter+0x1d6/0x1930 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b2/0xbb0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff218c8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff219a0e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ff218dabf80 RCX: 00007ff218c8c169 RDX: 000000006db6e559 RSI: 0000000020000380 RDI: 0000000000000004 RBP: 00007ff218ce7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc1af47e4f R14: 00007ff219a0e300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vmf_insert_pfn_prot+0x42c/0x450 mm/memory.c:2163 Code: ff 89 de e8 36 3d bf ff 45 84 e4 74 2b e8 9c 3a bf ff e9 54 fd ff ff e8 92 3a bf ff 0f 0b e8 8b 3a bf ff 0f 0b e8 84 3a bf ff <0f> 0b e8 cd 1c d3 08 e8 78 3a bf ff 0f 0b e8 71 3a bf ff 0f 0b 66 RSP: 0018:ffffc900166e7320 EFLAGS: 00010287 RAX: ffffffff81cb2e5c RBX: 0000000000000420 RCX: 0000000000040000 RDX: ffffc90003d81000 RSI: 000000000002fe8f RDI: 000000000002fe90 RBP: ffffc900166e73e0 R08: ffffffff81cb2b34 R09: ffffffff81cb2b08 R10: 0000000000000002 R11: ffff888024503a80 R12: 000000000c040471 R13: ffff88802aefc000 R14: ffffc900166e7360 R15: 0000000000146a1b FS: 00007ff219a0e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c02b411000 CR3: 0000000021a8a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 0f add %cl,(%rdi) 4: 01 cb add %ecx,%ebx 6: 0f ae e8 lfence 9: 49 81 e6 ff 0f 00 00 and $0xfff,%r14 10: 31 ff xor %edi,%edi 12: 4c 89 f6 mov %r14,%rsi 15: e8 d6 f4 c0 ff callq 0xffc0f4f0 1a: 48 8b 4c 24 08 mov 0x8(%rsp),%rcx 1f: 48 89 c8 mov %rcx,%rax 22: 48 25 ff 0f 00 00 and $0xfff,%rax 28: 74 30 je 0x5a * 2a: 8a 19 mov (%rcx),%bl <-- trapping instruction 2c: e8 7f f0 c0 ff callq 0xffc0f0b0 31: 43 0f b6 04 2f movzbl (%r15,%r13,1),%eax 36: 84 c0 test %al,%al 38: 0f 85 83 01 00 00 jne 0x1c1 3e: 88 .byte 0x88 3f: 5c pop %rsp