acrn-hypervisor/hypervisor/arch/x86
Yonghua Huang 2e9028128f hv:bugfix in write protect page hypercall
This patch fixes potential hypervisor crash when calling
 hc_hcall_write_protect_page()with a crafted GPA in
 'struct wp_data' instance, e.g. an invalid GPA that is
 out of the scope of target VM's EPT address space.

Tracked-On: #4669
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
2020-04-22 16:18:57 +08:00
..
boot hv: drop the temperory stack for AP startup 2018-12-17 19:16:43 +08:00
configs HV: change serial PCI cfg to bus:dev.func format 2018-12-25 14:47:31 +08:00
guest hv:unmap AP trampoline region from service VM's EPT 2019-11-18 10:39:23 +08:00
assign.c hv: assign: change ptirq vpin source type from enum to macro 2018-12-25 14:47:31 +08:00
cpu_state_tbl.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
cpu.c hv: add fast string enhanced rep movsb/stosb check on initial 2018-12-25 14:47:31 +08:00
e820.c HV: rename e820_entries to e820_entries_count 2018-12-12 09:12:12 +08:00
ept.c hv:bugfix in write protect page hypercall 2020-04-22 16:18:57 +08:00
gdt.c fix "Procedure is not pure assembler" 2018-11-13 16:28:58 +08:00
idt.S move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
init.c hv: drop the temperory stack for AP startup 2018-12-17 19:16:43 +08:00
io.c hv: decouple IO completion polling from idle thread 2018-12-29 10:16:20 +08:00
ioapic.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
irq.c cpu_dead should only run on current pcpu 2018-12-17 14:31:52 +08:00
Kconfig HV: adjust the starting addr of HV to be 2M-aligned 2019-01-24 08:27:55 +08:00
lapic.c hv: fix some potential array overflow risk 2019-07-18 15:18:29 +08:00
mmu.c HV: init_paging() wrongly calcuate the size of hypervisor 2019-01-24 08:27:55 +08:00
notify.c hv: fix some potential array overflow risk 2019-07-18 15:18:29 +08:00
page.c hv: minimize the case of "identifier reuse" 2018-12-07 15:21:39 +08:00
pagetable.c hv:refine modify_or_del_pte/pde/pdpte()function 2019-11-18 10:39:23 +08:00
pm.c hv: save/restore TSC in host's suspend/resume path 2019-09-24 13:45:49 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
static_checks.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
timer.c remove check_tsc 2018-12-17 14:31:52 +08:00
trampoline.c HV: fix per-cpu stack relocation in trampoline.c 2019-01-24 08:27:55 +08:00
trusty.c hv: enable SMAP in hypervisor 2018-12-14 15:24:26 +08:00
virq.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmexit.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmx_asm.S hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmx.c hv: vmsr: fix MISRA_C violations 2018-12-16 14:52:22 +08:00
vtd.c hv: vtd: fix compile warning on UEFI platform 2019-03-13 13:53:13 +08:00
wakeup.S hv: drop the temperory stack for AP startup 2018-12-17 19:16:43 +08:00