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…
Published 7 y ago · modified 4 mo ago · JSON
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.
Exploit prediction (EPSS)
0.36% probability of exploitation in the next 30 days, higher than 30% of all scored CVEs.
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 |
| 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 | 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
- Linux kernel (RSS, critical only)
References
- marc.info /?l=kvm&m=154514994222809&w=2 · x_refsource_MISC, x_transferred
- usn.ubuntu.com /3872-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- usn.ubuntu.com /3878-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- usn.ubuntu.com /3871-5/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- usn.ubuntu.com /3878-2/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- usn.ubuntu.com /3871-4/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- securityfocus.com /bid/106254 · vdb-entry, x_refsource_BID, x_transferred
- lwn.net /Articles/775720/ · x_refsource_CONFIRM, x_transferred
- usn.ubuntu.com /3871-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- lwn.net /Articles/775721/ · x_refsource_CONFIRM, x_transferred
- usn.ubuntu.com /3871-3/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
- bugzilla.redhat.com /show_bug.cgi?id=CVE-2018-16882 · x_refsource_CONFIRM, x_transferred
- support.f5.com /csp/article/K80557033 · x_refsource_CONFIRM, x_transferred
Sources
- CVE List: CVE-2018-16882
- NVD: CVE-2018-16882
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.