6.1med

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

CVSS
6.1
v3.0 · CNA
CISA KEV
No
not known exploited
EPSS
0.4%
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.

Exploit prediction (EPSS)

0.36% probability of exploitation in the next 30 days, higher than 30% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.06.1CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:H
NVD3.18.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CNA3.06.1CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:H
NVD2.07.2AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • The Linux Foundation kernel:

Classification

Weakness
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

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.