CVE-2019-3887 Denial of service in Kernel

Medium 6.7 Published Updated

A guest VM can crash the host kernel via KVM x2APIC MSR access when nested virtualization is enabled, causing denial of service.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-3887?

CVE-2019-3887 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 9 Apr 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in the way KVM hypervisor handled x2APIC Machine Specific Rregister (MSR) access with nested(=1) virtualization enabled. In that, L1 guest could access L0's APIC register values via L2 guest, when 'virtualize x2APIC mode' is enabled. A guest could use this flaw to potentially crash the host kernel resulting in DoS issue. Kernel versions from 4.16 and newer are vulnerable to this issue.

Weakness: CWE-863

Which versions are affected by CVE-2019-3887?

It affects 11 products.

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Linux kernel, Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Redhat Enterprise Linux for Real Time and 5 more.

How do I fix CVE-2019-3887?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2019-3887 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as AZL-34854, AZL-6521, DEBIAN-CVE-2019-3887, GHSA-j2cm-6mgm-v7v4, UBUNTU-CVE-2019-3887.

Is CVE-2019-3887 in your software?

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

Check your SBOMs for free