CVE-2018-16882: Use After Free

Published Jan 3, 2019
·
Updated

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 nestedgetvmcs12pages(), in case of an error while processing posted interrupt address, it unmaps the 'pidescpage' without resetting 'pidesc' descriptor address, which is later used in pitestandclearon(). 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 Software

7 affected componentsFixes available
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
debian/linux
6.1.176-16.1.187-16.12.107-17.1.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.107-1Fixed in 7.1.13-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.14.91
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.19.13

Event History

Jan 3, 2019
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 22, 2026
Data Sourced
via Launchpad·11:07 AM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:29 AM
RemedyDescriptionSeverityAffected Software
Sep 12, 2026
Data Sourced
via Debian·01:03 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-16882?

CVE-2018-16882 is classified as a high severity vulnerability due to its potential to allow malicious actors to execute arbitrary code on the host system.

2

How do I fix CVE-2018-16882?

To fix CVE-2018-16882, update the Linux kernel to a fixed version such as 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, or 6.12.10-1.

3

Which software is affected by CVE-2018-16882?

CVE-2018-16882 affects specific versions of the Linux kernel and certain distributions like Ubuntu 14.04, 16.04, 18.04, and 18.10.

4

What type of vulnerability is CVE-2018-16882?

CVE-2018-16882 is a use-after-free vulnerability in the Linux kernel's KVM hypervisor.

5

How does CVE-2018-16882 impact virtualization?

CVE-2018-16882 can impact nested virtualization by incorrectly handling posted interrupts, potentially leading to system instability or remote code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203