High severity · published Jan 3, 2019
CVE-2018-16882
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
8.8
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
4.14 before 4.14.91; 4.15 before 4.19.13 · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04; 18.04; 18.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-16882
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-16882
Third Party Advisory
http://www.securityfocus.com/bid/106254
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882
Third Party Advisory
https://lwn.net/Articles/775720/
Third Party Advisory
https://lwn.net/Articles/775721/
Patch
https://marc.info/?l=kvm&m=154514994222809&w=2
Third Party Advisory
https://support.f5.com/csp/article/K80557033
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
