CVE-2018-16882

HIGH

Linux Kernel 4.14-4.14.90 and < 4.19.13 - Use-After-Free in KVM Nested Virtualization

Title source: llm
STIX 2.1

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.

References (13)

Core 13
Core References
Patch, Third Party Advisory x_refsource_misc
https://marc.info/?l=kvm&m=154514994222809&w=2
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3872-1/
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3878-1/
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3871-5/
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3878-2/
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3871-4/
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/106254
Third Party Advisory x_refsource_confirm
https://lwn.net/Articles/775720/
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3871-1/
Third Party Advisory x_refsource_confirm
https://lwn.net/Articles/775721/
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3871-3/
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882
Third Party Advisory x_refsource_confirm
https://support.f5.com/csp/article/K80557033

Scores

CVSS v3 8.8
EPSS 0.0010
EPSS Percentile 27.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (5)
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
canonical/ubuntu_linux 18.10
linux/linux_kernel 4.14 - 4.14.91
Published Jan 03, 2019
Tracked Since Feb 18, 2026