CVE-2010-5313: Race Condition

Published Sep 24, 2014
·
Updated

It was found that reporting emulation failures to user space can lead to either local (CVE-2014-7842) or L2->L1 (CVE-2010-5313) DoS.

In the case of local DoS attacker needs access to MMIO area or be able to generate port access. Please note that on certain systems HPET is mapped to userspace as part of vdso (vvar) and thus an unprivileged user may generate MMIO transactions (and enter the emulator) this way.

Upstream patches:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fc3a9157d314 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a2b9e6c1a35a

Acknowledgements:

Red Hat would like to thank Nadav Amit for reporting this issue.

Other sources

It was found that reporting emulation failures to user space could lead to either a local (CVE-2014-7842) or a L2->L1 (CVE-2010-5313) denial of service. In the case of a local denial of service, an attacker must have access to the MMIO area or be able to access an I/O port. Please note that on certain systems, HPET is mapped to userspace as part of vdso (vvar) and thus an unprivileged user may generate MMIO transactions (and enter the emulator) this way.

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 Software

3 affected componentsFixes available
redhat/kernel<0:2.6.32-642.el6
0:2.6.32-642.el6
redhat/kernel<0:3.10.0-327.el7
0:3.10.0-327.el7
Linux Linux kernel<=2.6.37

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:2.6.32-642.el6
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-327.el7
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.6.38

Event History

Sep 24, 2014
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Nov 30, 2014
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Data Sourced
via NVD·01:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 28, 2016
Data Sourced
07:07 PM
Weakness
May 12, 2023
Data Sourced
via Red Hat·06:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Which environments are exposed to the L2-to-L1 denial-of-service scenario?

The L2-to-L1 scenario affects systems using x86 KVM where emulation failures can be reported to user space. It concerns a guest at the L2 nesting level causing a denial of service in its L1 environment.

2

What access does an attacker need for the local denial-of-service path?

An attacker needs access to an MMIO area or the ability to generate I/O port accesses. On systems where HPET is mapped into user space through vDSO/vvar, an unprivileged local user may be able to generate MMIO transactions through that mapping.

3

What is the practical impact of successful exploitation?

The described impact is denial of service. The provided CVSS vector indicates no confidentiality or integrity impact, with availability affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203