CVE-2018-16882
Last modified
CVE-2018-16882 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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(). EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.14, < 4.14.91 |
| Linux | Linux Kernel | >= 4.15, < 4.19.13 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
References
- http://www.securityfocus.com/bid/106254Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882Issue Tracking, Patch, Third 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=2Patch, Third 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 Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16882Issue Tracking, Patch, Third 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=2Patch, Third 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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-16882?
How severe is CVE-2018-16882?
How do I fix CVE-2018-16882?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-16877A flaw was found in the way pacemaker's client-server authen…7.8
- CVE-2018-16878A flaw was found in pacemaker up to and including version 2.…5.5
- CVE-2018-16879Ansible Tower before version 3.3.3 does not set a secure cha…9.8
- CVE-2018-1688IBM Jazz Foundation (IBM Rational Collaborative Lifecycle Ma…5.4
- CVE-2018-16880A flaw was found in the Linux kernel's handle_rx() function …7
- CVE-2018-16881A denial of service vulnerability was found in rsyslog in th…7.5
- CVE-2018-16883sssd versions from 1.13.0 to before 2.0.0 did not properly r…2.5
- CVE-2018-16884A flaw was found in the Linux kernel's NFS41+ subsystem. NFS…8
- CVE-2018-16885A flaw was found in the Linux kernel that allows the userspa…4.7
- CVE-2018-16886etcd versions 3.2.x before 3.2.26 and 3.3.x before 3.3.11 ar…8.1
- CVE-2018-16887A cross-site scripting (XSS) flaw was found in the katello c…5.4
- CVE-2018-16888It was discovered systemd does not correctly check the conte…4.7
Are you affected by CVE-2018-16882?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
