Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.14, < 4.14.91 |
| Canonical | Ubuntu Linux | 14.04 |
Related Weaknesses (CWE)
References
- http://www.securityfocus.com/bid/106254Third Party AdvisoryVDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882Issue TrackingPatchThird Party Advisory
- https://lwn.net/Articles/775720/Third Party Advisory
- https://lwn.net/Articles/775721/Third Party Advisory
- https://marc.info/?l=kvm&m=154514994222809&w=2PatchThird Party Advisory
- https://support.f5.com/csp/article/K80557033Third Party Advisory
- https://usn.ubuntu.com/3871-1/Third Party Advisory
- https://usn.ubuntu.com/3871-3/Third Party Advisory
- https://usn.ubuntu.com/3871-4/Third Party Advisory
- https://usn.ubuntu.com/3871-5/Third Party Advisory
- https://usn.ubuntu.com/3872-1/Third Party Advisory
- https://usn.ubuntu.com/3878-1/Third Party Advisory
- https://usn.ubuntu.com/3878-2/Third Party Advisory
- http://www.securityfocus.com/bid/106254Third Party AdvisoryVDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882Issue TrackingPatchThird Party Advisory
FAQ
What is CVE-2018-16882?
CVE-2018-16882 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 w...
How severe is CVE-2018-16882?
CVE-2018-16882 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-16882?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel, Canonical Ubuntu Linux.