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 enabled. In nested_get_vmcs12_pages(), in case of an error w...
HighCVSS 8.8
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | < 4.19.13-1 | 4.19.13-1 |
| debian/linux(Debian:13) | < 4.19.13-1 | 4.19.13-1 |
| debian/linux(Debian:14) | < 4.19.13-1 | 4.19.13-1 |
| Linux kernel | >= 4.14, < 4.14.91 | 4.14.91 |
| Linux kernel | >= 4.15, < 4.19.13 | 4.19.13 |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.10 | No fix listed |
| The Linux Foundation kernel | = before 4.14.91 | No fix listed |
| The Linux Foundation kernel | = before 4.19.13 | No fix listed |
References
- Debian Security Tracker CVE-2018-16882 vendor-advisory
- 106254 third-party-advisory vdb-entry
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- lwn.net third-party-advisory
- lwn.net third-party-advisory
- marc.info patch third-party-advisory
- support.f5.com third-party-advisory
- USN-3871-1 third-party-advisory vendor-advisory
- USN-3871-3 third-party-advisory vendor-advisory
- USN-3871-4 third-party-advisory vendor-advisory
- USN-3871-5 third-party-advisory vendor-advisory
- USN-3872-1 third-party-advisory vendor-advisory
- USN-3878-1 third-party-advisory vendor-advisory
- USN-3878-2 third-party-advisory vendor-advisory