cve.bz

CVE-2018-16882 Use After Free

8.8 highEPSS 0.4%Fix available

High (8.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-16882 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-16882?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-16882?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-16882 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.14 before 4.14.91
linux:linux_kernelfrom 4.15 before 4.19.13
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux4.19.13-1DEBIAN-CVE-2018-16882
Ubuntu14.04:LTSlinux-azure4.15.0-1037.39~14.04.2UBUNTU-CVE-2018-16882 USN-3871-5
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1032.34~16.04.1UBUNTU-CVE-2018-16882 USN-3871-4
Ubuntu16.04:LTSlinux-azure4.15.0-1037.39~16.04.1UBUNTU-CVE-2018-16882 USN-3871-5
Ubuntu16.04:LTSlinux-gcp4.15.0-1027.28~16.04.1UBUNTU-CVE-2018-16882 USN-3871-4
Ubuntu16.04:LTSlinux-hwe4.15.0-45.48~16.04.1UBUNTU-CVE-2018-16882 USN-3871-4
Ubuntu16.04:LTSlinux-oracle4.15.0-1008.10~16.04.1UBUNTU-CVE-2018-16882
Ubuntu18.04:LTSlinux4.15.0-44.47UBUNTU-CVE-2018-16882 USN-3871-1
Ubuntu18.04:LTSlinux-aws4.15.0-1032.34UBUNTU-CVE-2018-16882 USN-3871-3
Ubuntu18.04:LTSlinux-azure4.15.0-1037.39UBUNTU-CVE-2018-16882 USN-3871-5
Ubuntu18.04:LTSlinux-gcp4.15.0-1027.28UBUNTU-CVE-2018-16882 USN-3871-3
Ubuntu18.04:LTSlinux-gcp-edge4.18.0-1006.7~18.04.1UBUNTU-CVE-2018-16882
Ubuntu18.04:LTSlinux-hwe4.18.0-14.15~18.04.1UBUNTU-CVE-2018-16882 USN-3872-1
4 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 morekernel-syms, kernel-source, kernel-default4.4.180-94.150.1SUSE-SU-2021:3935-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS, Linux Enterprise Server for SAP Applications 12 SP3 and 2 morekgraft-patch-SLE12-SP3_Update_411-4.3.1SUSE-SU-2021:3935-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.150.1SUSE-SU-2021:3935-1
SUSELinux Enterprise Server 12 SP2-BCLkernel-syms, kernel-source, kernel-default4.4.121-92.161.1SUSE-SU-2021:3929-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2realtime-kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-16882.

References

Check your stackJSON