CVE-2017-12154: High severity Linux Linux kernel vulnerability

Published Sep 13, 2017
·
Updated

Last updated 4 July 2026

Other sources

Linux kernel built with the KVM virtualisation support(CONFIGKVM), with nested virtualisation(nVMX) feature enabled(nested=1), is vulnerable to a crash due to disabled external interrupts. As L2 guest could access(r/w) hardware CR8 register of the host(L0).

In a nested virtualisation setup, L2 guest user could use this flaw to potentially crash the host(L0) resulting in DoS.

Upstream patch -------------- -> https://git.kernel.org/linus/51aa68e7d57e3217192d88ce90fd5b8ef29ec94f

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2017/09/26/3

Red Hat

The preparevmcs02 function in arch/x86/kvm/vmx.c in the Linux kernel through 4.13.3 does not ensure that the "CR8-load exiting" and "CR8-store exiting" L0 vmcs02 controls exist in cases where L1 omits the "use TPR shadow" vmcs12 control, which allows KVM L2 guest OS users to obtain read and write access to the hardware CR8 register.

Launchpad

Affected Software

2 affected componentsFixes available
Linux Linux kernel<=4.13.3
debian/linux
6.1.176-16.1.187-16.12.107-17.1.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.107-1Fixed in 7.1.13-1
  2. Upgrade

    Upgrade Linux kernel (KVM nested virtualization / nVMX) to a version that resolves this vulnerability.

    Patch 51aa68e7d57e3217192d88ce90fd5b8ef29ec94f

Event History

Sep 13, 2017
Data Sourced
via Red Hat·11:11 AM
DescriptionSeverityAffected Software
Sep 26, 2017
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
DescriptionWeakness
Data Sourced
via NVD·05:29 AM
RemedyDescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:26 PM
Description
Jul 5, 2026
Data Sourced
via Ubuntu·11:16 AM
RemedyDescriptionSeverityAffected Software
Sep 12, 2026
Data Sourced
via Debian·12:47 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-12154?

CVE-2017-12154 has a high severity rating due to the potential for a crash in the KVM nested virtualization environment.

2

How do I fix CVE-2017-12154?

To fix CVE-2017-12154, update your Linux kernel to a version that is 5.10.223-1 or higher, or 6.1.119-1 or higher.

3

Which Linux kernel versions are vulnerable to CVE-2017-12154?

Linux kernel versions up to and including 4.13.3 are vulnerable to CVE-2017-12154.

4

What impact does CVE-2017-12154 have on KVM users?

CVE-2017-12154 can allow an L2 guest to crash the host by manipulating hardware CR8 register access due to disabled external interrupts.

5

Is nested virtualization in KVM safe after applying the fix for CVE-2017-12154?

Yes, applying the fix will mitigate the specific vulnerability in nested virtualization, enhancing its safety.

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