android_kernel_xiaomi_sm8350/arch/x86/kvm
Marcelo Tosatti 6c475352e8 KVM: MMU: avoid creation of unreachable pages in the shadow
It is possible for a shadow page to have a parent link
pointing to a freed page. When zapping a high level table,
kvm_mmu_page_unlink_children fails to remove the parent_pte link.
For that to happen, the child must be unreachable via the shadow
tree, which can happen in shadow_walk_entry if the guest pte was
modified in between walk() and fetch(). Remove the parent pte
reference in such case.

Possible cause for oops in bug #2217430.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2008-11-26 12:34:27 +02:00
..
i8254.c KVM: Fix pit memory leak if unable to allocate irq source id 2008-11-11 21:01:51 +02:00
i8254.h KVM: Fix guest shared interrupt with in-kernel irqchip 2008-10-28 14:21:34 +02:00
i8259.c KVM: PIC: enhance IPI avoidance 2008-10-15 14:25:28 +02:00
irq.c KVM: Separate irq ack notification out of arch/x86/kvm/irq.c 2008-10-15 14:25:35 +02:00
irq.h KVM: Separate irq ack notification out of arch/x86/kvm/irq.c 2008-10-15 14:25:35 +02:00
Kconfig KVM: Require the PCI subsystem 2008-11-11 20:56:13 +02:00
kvm_cache_regs.h KVM: x86: accessors for guest registers 2008-10-15 10:13:57 +02:00
kvm_svm.h
lapic.c Merge commit 'linus/master' into merge-linus 2008-10-17 09:20:26 -07:00
lapic.h KVM: add statics were possible, function definition in lapic.h 2008-07-20 12:40:46 +03:00
Makefile KVM: Separate irq ack notification out of arch/x86/kvm/irq.c 2008-10-15 14:25:35 +02:00
mmu.c KVM: MMU: fix sync of ptes addressed at owner pagetable 2008-11-23 15:24:19 +02:00
mmu.h KVM: MMU: Fix false flooding when a pte points to page table 2008-07-20 12:40:50 +03:00
paging_tmpl.h KVM: MMU: avoid creation of unreachable pages in the shadow 2008-11-26 12:34:27 +02:00
svm.c KVM: x86: trap invlpg 2008-10-15 14:25:21 +02:00
svm.h
tss.h
vmx.c KVM: VMX: Fix interrupt loss during race with NMI 2008-11-23 14:52:29 +02:00
vmx.h KVM: VMX: Set IGMT bit in EPT entry 2008-11-11 21:00:37 +02:00
x86_emulate.c KVM: x86 emulator: Use DstAcc for 'and' 2008-10-15 10:16:14 +02:00
x86.c KVM: Fix guest shared interrupt with in-kernel irqchip 2008-10-28 14:21:34 +02:00
x86.h KVM: Add a pending interrupt queue 2008-10-15 10:15:13 +02:00