CVE-2022-39189: Use After Free

Published May 30, 2022
·
Updated

A flaw was found in the x86 KVM subsystem in kvmstealtimesetpreempted in arch/x86/kvm/x86.c in the Linux kernel. Unprivileged guest users can compromise the guest kernel because TLB flush operations are mishandled in certain KVMVCPUPREEMPTED situations.

Other sources

An issue was discovered the x86 KVM subsystem in the Linux kernel before 5.18.17. Unprivileged guest users can compromise the guest kernel because TLB flush operations are mishandled in certain KVMVCPUPREEMPTED situations.

In multiple functions of many files, there is a possible out of bounds write due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

Affected Software

120 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-477.10.1.rt7.274.el8_8
0:4.18.0-477.10.1.rt7.274.el8_8
redhat/kernel<0:4.18.0-477.10.1.el8_8
0:4.18.0-477.10.1.el8_8
redhat/kernel<0:5.14.0-284.11.1.el9_2
0:5.14.0-284.11.1.el9_2
redhat/kernel-rt<0:5.14.0-284.11.1.rt14.296.el9_2
0:5.14.0-284.11.1.rt14.296.el9_2
Linux Linux kernel>=4.16<5.4.244
Linux Linux kernel>=5.5.0<5.10.180
Linux Linux kernel>=5.11<5.15.60
Linux Linux kernel>=5.16<5.18.17
NetApp Hci Baseboard Management Controller=h300s
NetApp Hci Baseboard Management Controller=h410c
NetApp Hci Baseboard Management Controller=h410s
NetApp Hci Baseboard Management Controller=h500s
NetApp Hci Baseboard Management Controller=h700s
redhat/kernel<5.19
5.19
Google Android
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4*
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-5.4*
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4*
ubuntu/linux-raspi-5.4*
ubuntu/linux-aws-5.15<5.15.0-1021.25~20.04.1
5.15.0-1021.25~20.04.1
ubuntu/linux-azure-5.15<5.15.0-1021.26~20.04.1
5.15.0-1021.26~20.04.1
ubuntu/linux-gcp-5.15<5.15.0-1021.28~20.04.1
5.15.0-1021.28~20.04.1
ubuntu/linux-gke-5.15<5.15.0-1019.23~20.04.1
5.15.0-1019.23~20.04.1
ubuntu/linux-gkeop-5.15<5.15.0-1005.7~20.04.1
5.15.0-1005.7~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-50.56~20.04.1
5.15.0-50.56~20.04.1
ubuntu/linux-intel-iotg-5.15<5.15.0-1017.22~20.04.1
5.15.0-1017.22~20.04.1
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-50.56~20.04.1
5.15.0-50.56~20.04.1
ubuntu/linux-oracle-5.15<5.15.0-1019.24~20.04.1
5.15.0-1019.24~20.04.1
ubuntu/linux-riscv-5.15<5.15.0-1022.26~20.04.1
5.15.0-1022.26~20.04.1
ubuntu/linux*
ubuntu/linux-aws*
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15<5.15.0-1114.123~20.04.1
5.15.0-1114.123~20.04.1
ubuntu/linux-bluefield*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-ibm*
ubuntu/linux-intel-5.13*
ubuntu/linux-iot*
ubuntu/linux-kvm*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-xilinx-zynqmp*
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.15.0-50.56
5.15.0-50.56
ubuntu/linux-aws<5.15.0-1021.25
5.15.0-1021.25
ubuntu/linux-azure<5.15.0-1021.26
5.15.0-1021.26
ubuntu/linux-azure-fde<5.15.0-1024.30.1
5.15.0-1024.30.1
ubuntu/linux-gcp<5.15.0-1019.25
5.15.0-1019.25
ubuntu/linux-gke<5.15.0-1017.20
5.15.0-1017.20
ubuntu/linux-gkeop<5.15.0-1004.6
5.15.0-1004.6
ubuntu/linux-ibm<5.15.0-1015.17
5.15.0-1015.17
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-intel-iotg<5.15.0-1017.22
5.15.0-1017.22
ubuntu/linux-kvm<5.15.0-1019.23
5.15.0-1019.23
ubuntu/linux-lowlatency<5.15.0-50.56
5.15.0-50.56
ubuntu/linux-nvidia<5.15.0-1015.15
5.15.0-1015.15
ubuntu/linux-oem-5.17*
ubuntu/linux-oracle<5.15.0-1019.24
5.15.0-1019.24
ubuntu/linux-raspi<5.15.0-1016.18
5.15.0-1016.18
ubuntu/linux-realtime*
ubuntu/linux-riscv<5.15.0-1020.23
5.15.0-1020.23
ubuntu/linux-realtime<5.15.0-1022.22
5.15.0-1022.22
ubuntu/linux-raspi-realtime*
android/:linux_kernel:>=:0<:2023-02-05
:2023-02-05
debian/linux<5.19.6-1
5.19.6-1
debian/linux<5.19.6-1
5.19.6-1
debian/linux<5.19.6-1
5.19.6-1
debian/linux
5.10.191-15.19.6-1
debian/linux-5.10
5.10.197-1~deb10u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-477.10.1.rt7.274.el8_8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-477.10.1.el8_8
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-284.11.1.el9_2
  4. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:5.14.0-284.11.1.rt14.296.el9_2
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.19
  6. Upgrade

    Upgrade ubuntu/linux-aws-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1021.25~20.04.1
  7. Upgrade

    Upgrade ubuntu/linux-azure-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1021.26~20.04.1
  8. Upgrade

    Upgrade ubuntu/linux-gcp-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1021.28~20.04.1
  9. Upgrade

    Upgrade ubuntu/linux-gke-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1019.23~20.04.1
  10. Upgrade

    Upgrade ubuntu/linux-gkeop-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1005.7~20.04.1
  11. Upgrade

    Upgrade ubuntu/linux-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-50.56~20.04.1
  12. Upgrade

    Upgrade ubuntu/linux-intel-iotg-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1017.22~20.04.1
  13. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-50.56~20.04.1
  14. Upgrade

    Upgrade ubuntu/linux-oracle-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1019.24~20.04.1
  15. Upgrade

    Upgrade ubuntu/linux-riscv-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.26~20.04.1
  16. Upgrade

    Upgrade ubuntu/linux-azure-fde-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1114.123~20.04.1
  17. Upgrade

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

    Fixed in 5.15.0-50.56
  18. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.15.0-1021.25
  19. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.15.0-1021.26
  20. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 5.15.0-1024.30.1
  21. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1019.25
  22. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.15.0-1017.20
  23. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.15.0-1004.6
  24. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1015.17
  25. Upgrade

    Upgrade ubuntu/linux-intel-iotg to a version that resolves this vulnerability.

    Fixed in 5.15.0-1017.22
  26. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1019.23
  27. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 5.15.0-50.56
  28. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 5.15.0-1015.15
  29. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.15.0-1019.24
  30. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.15.0-1016.18
  31. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 5.15.0-1020.23
  32. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.22
  33. Upgrade

    Upgrade android/:linux_kernel: to a version that resolves this vulnerability.

    Fixed in :2023-02-05
  34. Upgrade

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

    Fixed in 5.19.6-1
  35. Upgrade

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

    Fixed in 5.10.191-1Fixed in 5.19.6-1
  36. Upgrade

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

    Fixed in 5.10.197-1~deb10u1
  37. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.18.17

Event History

May 30, 2022
CVE Published
03:30 AM
Data Sourced
03:30 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 2, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Data Sourced
via OSV·05:15 AM
DescriptionSeverityAffected Software
Event
via OSV·05:15 AM
Feb 1, 2023
Advisory Published
via OSV·12:00 AM
Oct 20, 2023
Updated
via NVD·12:15 AM
Affected Software
Oct 27, 2023
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Updated
via Android·12:00 AM
Affected Software
Dec 7, 2023
Data Sourced
via Red Hat·05:09 PM
DescriptionSeverityAffected Software
Feb 7, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 11, 2024
Updated
via Android·12:00 AM
Affected Software
Mar 18, 2024
Updated
via Android·12:00 AM
Affected Software
Apr 29, 2024
Updated
via Android·12:00 AM
Affected Software
May 21, 2024
Updated
via Android·12:00 AM
Affected Software
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·07:17 AM
RemedyAffected Software
May 5, 2025
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software
Updated
via NVD·04:15 PM
RemedySeverityAffected Software
Updated
via NVD·04:15 PM
SeverityAffected Software
Sep 30, 2026
Updated
via Android·12:00 AM
Affected Software
Nov 11, 2026
Updated
via OSV·09:37 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:23 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2022-39189?

CVE-2022-39189 has a high severity rating due to its potential to allow unprivileged guest users to compromise the guest kernel.

2

How do I fix CVE-2022-39189?

To fix CVE-2022-39189, update to the recommended kernel versions specified in the remediation section.

3

What systems are affected by CVE-2022-39189?

CVE-2022-39189 impacts various versions of the Linux kernel and specific NetApp HCI baseboard management controllers.

4

Can CVE-2022-39189 be exploited remotely?

CVE-2022-39189 does not appear to be a remotely exploitable vulnerability, as it involves unprivileged access within guest environments.

5

Is there a workaround for CVE-2022-39189?

Currently, there are no known workarounds for CVE-2022-39189 other than applying the appropriate updates.

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