Oops: general protection fault, probably for non-canonical address 0xe000013ffffffffd: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x000029ffffffffe8-0x000029ffffffffef] CPU: 1 PID: 7160 Comm: syz.3.524 Not tainted 6.10.0-syzkaller-11185-g2c9b3512402e #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:to_shadow_page arch/x86/kvm/mmu/spte.h:245 [inline] RIP: 0010:spte_to_child_sp arch/x86/kvm/mmu/spte.h:250 [inline] RIP: 0010:root_to_sp arch/x86/kvm/mmu/spte.h:267 [inline] RIP: 0010:is_page_fault_stale+0xd5/0x5e0 arch/x86/kvm/mmu/mmu.c:4517 Code: 00 48 21 c3 48 b8 00 00 00 00 00 ea ff ff 48 c1 e3 06 48 01 c3 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 59 04 00 00 48 8b 5b 28 31 ff 48 89 de e8 53 19 RSP: 0018:ffffc90027f17990 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 000029ffffffffc0 RCX: ffffffff811cc884 RDX: 0000053ffffffffd RSI: ffffffff811cc892 RDI: 000029ffffffffe8 RBP: ffff888055820000 R08: 0000000000000006 R09: 0000000000012e63 R10: 000fffffffffffff R11: 0000000000000001 R12: ffffc90027f17a50 R13: 0000000000012e63 R14: ffff888055820338 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802c100000(0063) knlGS:00000000f5cc6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f735dca0 CR3: 000000002bc46000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_tdp_mmu_page_fault arch/x86/kvm/mmu/mmu.c:4662 [inline] kvm_tdp_page_fault+0x1ce/0x350 arch/x86/kvm/mmu/mmu.c:4693 kvm_mmu_do_page_fault+0x59f/0x6a0 arch/x86/kvm/mmu/mmu_internal.h:323 kvm_tdp_map_page arch/x86/kvm/mmu/mmu.c:4715 [inline] kvm_arch_vcpu_pre_fault_memory+0x25d/0x510 arch/x86/kvm/mmu/mmu.c:4760 kvm_vcpu_pre_fault_memory arch/x86/kvm/../../../virt/kvm/kvm_main.c:4418 [inline] kvm_vcpu_ioctl+0xec1/0x1520 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4648 kvm_vcpu_compat_ioctl+0x216/0x3f0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4700 __do_compat_sys_ioctl+0x2c3/0x330 fs/ioctl.c:1007 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f0f579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f5cc656c EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00000000c040aed5 RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:to_shadow_page arch/x86/kvm/mmu/spte.h:245 [inline] RIP: 0010:spte_to_child_sp arch/x86/kvm/mmu/spte.h:250 [inline] RIP: 0010:root_to_sp arch/x86/kvm/mmu/spte.h:267 [inline] RIP: 0010:is_page_fault_stale+0xd5/0x5e0 arch/x86/kvm/mmu/mmu.c:4517 Code: 00 48 21 c3 48 b8 00 00 00 00 00 ea ff ff 48 c1 e3 06 48 01 c3 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 59 04 00 00 48 8b 5b 28 31 ff 48 89 de e8 53 19 RSP: 0018:ffffc90027f17990 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 000029ffffffffc0 RCX: ffffffff811cc884 RDX: 0000053ffffffffd RSI: ffffffff811cc892 RDI: 000029ffffffffe8 RBP: ffff888055820000 R08: 0000000000000006 R09: 0000000000012e63 R10: 000fffffffffffff R11: 0000000000000001 R12: ffffc90027f17a50 R13: 0000000000012e63 R14: ffff888055820338 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802c100000(0063) knlGS:00000000f5cc6b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f735dca0 CR3: 000000002bc46000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 48 21 add %cl,0x21(%rax) 3: c3 ret 4: 48 b8 00 00 00 00 00 movabs $0xffffea0000000000,%rax b: ea ff ff e: 48 c1 e3 06 shl $0x6,%rbx 12: 48 01 c3 add %rax,%rbx 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 8d 7b 28 lea 0x28(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 59 04 00 00 jne 0x48d 34: 48 8b 5b 28 mov 0x28(%rbx),%rbx 38: 31 ff xor %edi,%edi 3a: 48 89 de mov %rbx,%rsi 3d: e8 .byte 0xe8 3e: 53 push %rbx 3f: 19 .byte 0x19