CVE-2018-16882 json
A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted interrupts when nested(=1) virtualization is…
published 2019-01-03 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-8672
- cvss
- 6.1
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 4.14.91, 4.19.13
- linux Debian 14, Debian 13, Debian 12 4.19.13-1
debian advisories DEBIAN-CVE-2018-16882
- linux Ubuntu 18.04 LTS 4.15.0-44.47
- linux-aws Ubuntu 18.04 LTS 4.15.0-1032.34
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1027.28~16.04.1
- linux-gcp Ubuntu 18.04 LTS 4.15.0-1027.28
- linux-hwe Ubuntu 16.04 LTS 4.15.0-45.48~16.04.1
- linux-hwe Ubuntu 18.04 LTS 4.18.0-14.15~18.04.1
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1029.29
- linux-oem Ubuntu 18.04 LTS 4.15.0-1033.38
ubuntu advisories UBUNTU-CVE-2018-16882
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-syms SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +3 more 4.4.180-94.150.1
- kernel-source SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +3 more 4.4.180-94.150.1
- kernel-default SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +4 more 4.4.180-94.150.1
- kgraft-patch-SLE12-SP3_Update_41 SLES for SAP 12 SP3, SLES 12 SP3-LTSS, OpenStack Cloud Crowbar 8 +2 more 1-4.3.1
- kernel-syms SLES 12 SP2-BCL 4.4.121-92.161.1
- kernel-source SLES 12 SP2-BCL 4.4.121-92.161.1
- kernel-default SLES 12 SP2-BCL 4.4.121-92.161.1
suse advisories SUSE-SU-2021:3935-1SUSE-SU-2021:3929-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-16882 updated cvss 7.5
Kernel: KVM: nVMX: use after free in posted interrupt processing
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.36% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.1 | CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- The Linux Foundation kernel:
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
marc.info
/?l=kvm&m=154514994222809&w=2
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-16882
issue-tracking, patch, third-party-advisory
-
usn.ubuntu.com
/3872-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3878-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3871-5/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3878-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3871-4/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3871-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3871-3/
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/106254
vdb-entry, third-party-advisory
-
lwn.net
/Articles/775720/
third-party-advisory
-
lwn.net
/Articles/775721/
third-party-advisory
-
support.f5.com
/csp/article/K80557033
third-party-advisory
Sources
- CVE List CVE-2018-16882
- NVD CVE-2018-16882
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.