CVE-2017-12154 Privilege escalation in Linux kernel through 4.13.3

High 7.1 Published Updated

A flaw in the Linux kernel KVM module allows L2 guest users to access hardware CR8 registers, potentially leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-12154?

CVE-2017-12154 is a high-severity vulnerability in Linux kernel, published on 26 Sep 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The prepare_vmcs02 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.

Which versions are affected by CVE-2017-12154?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2017-12154?

Apply the vendor's patch.

Is CVE-2017-12154 being exploited?

There is no known exploitation of CVE-2017-12154 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-12154, GHSA-wjrh-v4vw-2jmc, UBUNTU-CVE-2017-12154.

Is CVE-2017-12154 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free