CVE-2018-16882

Kernel: KVM: nVMX: use after free in posted interrupt processing

Published Jan 3, 2019 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted interrupts when nested(=1) virtualization is enabled. In nested_get_vmcs12_pages(), in case of an error while processing posted interrupt address, it unmaps the 'pi_desc_page' without resetting 'pi_desc' descriptor address, which is later used in pi_test_and_clear_on(). A guest user/process could use this flaw to crash the host kernel resulting in DoS or potentially gain privileged access to a system. Kernel versions before 4.14.91 and before 4.19.13 are vulnerable.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-8672 A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted interrupts when nested(=1) virtualization is enabled. In nested_get_vmcs12_pages(), in case of an error while processing posted interrupt address, it unmaps the 'pi_desc_page' without resetting 'pi_desc' descriptor address, which is later used in pi_test_and_clear_on(). A guest user/process could use this flaw to crash the host kernel resulting in DoS or potentially gain privileged access to a system. Kernel versions before 4.14.91 and before 4.19.13 are vulnerable.
Ubuntu USN Ubuntu USN USN-3871-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3871-3 Linux kernel (AWS, GCP, KVM, OEM, Raspberry Pi 2) vulnerabilities
Ubuntu USN Ubuntu USN USN-3871-4 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3871-5 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-3872-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3878-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3878-2 Linux kernel (Azure) vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 10:32 AM
Reserved
Sep 11, 2018, 12:00 AM
Status
Modified
Published
Jan 3, 2019, 4:29 PM
Modified
Jun 17, 2026, 1:44 AM
Severity
Important
Public date
Dec 18, 2018, 12:00 AM