Unrated severityNVD Advisory· Published Nov 30, 2014· Updated May 6, 2026
CVE-2010-5313
CVE-2010-5313
Description
Race condition in arch/x86/kvm/x86.c in the Linux kernel before 2.6.38 allows L2 guest OS users to cause a denial of service (L1 guest OS crash) via a crafted instruction that triggers an L2 emulation failure report, a similar issue to CVE-2014-7842.
Affected products
1Patches
1fc3a9157d314KVM: X86: Don't report L2 emulation failures to user-space
1 file changed · +10 −4
arch/x86/kvm/x86.c+10 −4 modified@@ -4314,13 +4314,19 @@ EXPORT_SYMBOL_GPL(kvm_inject_realmode_interrupt); static int handle_emulation_failure(struct kvm_vcpu *vcpu) { + int r = EMULATE_DONE; + ++vcpu->stat.insn_emulation_fail; trace_kvm_emulate_insn_failed(vcpu); - vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; - vcpu->run->internal.suberror = KVM_INTERNAL_ERROR_EMULATION; - vcpu->run->internal.ndata = 0; + if (!is_guest_mode(vcpu)) { + vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR; + vcpu->run->internal.suberror = KVM_INTERNAL_ERROR_EMULATION; + vcpu->run->internal.ndata = 0; + r = EMULATE_FAIL; + } kvm_queue_exception(vcpu, UD_VECTOR); - return EMULATE_FAIL; + + return r; } static bool reexecute_instruction(struct kvm_vcpu *vcpu, gva_t gva)
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
10- www.openwall.com/lists/oss-security/2014/11/13/7nvdPatchVendor Advisory
- github.com/torvalds/linux/commit/fc3a9157d3148ab91039c75423da8ef97be3e105nvdPatchVendor Advisory
- mirror.linux.org.au/linux/kernel/v2.6/ChangeLog-2.6.38nvdVendor Advisory
- lists.opensuse.org/opensuse-security-announce/2015-04/msg00000.htmlnvd
- rhn.redhat.com/errata/RHSA-2016-0855.htmlnvd
- www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlnvd
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.htmlnvd
- www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.htmlnvd
- www.securityfocus.com/bid/71363nvd
- bugzilla.redhat.com/show_bug.cginvd
News mentions
0No linked articles in our index yet.