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…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.0 | Medium6.1 | CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.36% · top 70% of all CVEs (5 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
The Linux Foundation · kernel:
- affected before 4.14.91
- affected before 4.19.13
References (13)
- https://marc.info/?l=kvm&m=154514994222809&w=2 (opens in a new tab)x_refsource_MISCx_transferred
- USN-3872-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-3878-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-3871-5 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-3878-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-3871-4 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 106254 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://lwn.net/Articles/775720/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-3871-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://lwn.net/Articles/775721/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-3871-3 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://support.f5.com/csp/article/K80557033 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-16882)Record last updated .