linux_dsm_epyc7002/arch/x86/kvm
Jan Kiszka e125e7b694 KVM: Fix KVM_GET_MSR_INDEX_LIST
So far, KVM copied the emulated_msrs (only MSR_IA32_MISC_ENABLE) to a
wrong address in user space due to broken pointer arithmetic. This
caused subtle corruption up there (missing MSR_IA32_MISC_ENABLE had
probably no practical relevance). Moreover, the size check for the
user-provided kvm_msr_list forgot about emulated MSRs.

Cc: stable@kernel.org
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-08-05 13:58:03 +03:00
..
i8254.c KVM: PIT: fix count read and mode 0 handling 2009-06-10 11:48:39 +03:00
i8254.h KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
i8259.c KVM: fix sparse warnings: context imbalance 2009-03-24 11:03:13 +02:00
irq.c KVM: Remove irq_pending bitmap 2009-06-10 11:48:57 +03:00
irq.h KVM: make irq ack notifications aware of routing table 2009-03-24 11:03:08 +02:00
Kconfig KVM: Expand on "help" info to specify kvm intel and amd module names 2009-06-10 11:48:55 +03:00
kvm_cache_regs.h KVM: x86: accessors for guest registers 2008-10-15 10:13:57 +02:00
kvm_svm.h KVM: x86: Virtualize debug registers 2009-03-24 11:02:49 +02:00
kvm_timer.h KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
lapic.c KVM: fix apic_debug instances 2009-06-10 11:48:50 +03:00
lapic.h KVM: APIC: get rid of deliver_bitmask 2009-06-10 11:48:27 +03:00
Makefile KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
mmu.c KVM: MMU: Allow 4K ptes with bit 7 (PAT) set 2009-06-28 14:10:29 +03:00
mmu.h KVM: Use rsvd_bits_mask in load_pdptrs() 2009-06-10 11:48:36 +03:00
paging_tmpl.h KVM: shut up uninit compiler warning in paging_tmpl.h 2009-06-28 14:10:32 +03:00
svm.c KVM: inject NMI after IRET from a previous NMI, not before. 2009-06-10 11:48:59 +03:00
timer.c KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
tss.h KVM: x86: hardware task switching support 2008-04-27 12:00:39 +03:00
vmx.c KVM: VMX: Handle vmx instruction vmexits 2009-06-28 14:10:31 +03:00
x86_emulate.c KVM: kvm/x86_emulate.c toggle_interruptibility() should be static 2009-06-28 14:10:30 +03:00
x86.c KVM: Fix KVM_GET_MSR_INDEX_LIST 2009-08-05 13:58:03 +03:00
x86.h KVM: Do not re-execute INTn instruction. 2009-06-10 11:48:58 +03:00