CVE-2022-0171: Medium severity Linux Linux kernel vulnerability

Published Jan 10, 2022
·
Updated

A flaw was found in the Linux kernel. The existing KVM SEV API has a vulnerability that allows a non-root (host) user-level application to crash the host kernel by creating a confidential guest VM instance in AMD CPU that supports Secure Encrypted Virtualization (SEV).

Other sources

The existing KVM SEV API has a vulnerability that allows a non-root (host) user-level application to crash the host kernel by creating a confidential guest VM instance in AMD CPU that supports SEV.

Upstream fix:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bb4ce2c65881a2b9bdcd384f54a260a12a89dd91

— Red Hat

Affected Software

82 affected componentsFixes available
Linux Linux kernel<5.18
Linux Linux kernel=5.18
Linux Linux kernel=5.18-rc1
Linux Linux kernel=5.18-rc2
Linux Linux kernel=5.18-rc3
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
redhat/kernel<5.18
5.18
debian/linux<5.18.2-1
5.18.2-1
debian/linux<5.18.2-1
5.18.2-1
debian/linux<5.18.2-1
5.18.2-1
debian/linux
5.10.149-15.18.2-1
debian/linux-5.10
5.10.149-2~deb10u1
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-hwe*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-5.15<5.15.0-1027.31~20.04.1
5.15.0-1027.31~20.04.1
ubuntu/linux-azure-5.15<5.15.0-1030.37~20.04.1
5.15.0-1030.37~20.04.1
ubuntu/linux-azure-fde-5.15<5.15.0-1030.37~20.04.1.1
5.15.0-1030.37~20.04.1.1
ubuntu/linux-gcp-5.15<5.15.0-1027.34~20.04.1
5.15.0-1027.34~20.04.1
ubuntu/linux-gke-5.15<5.15.0-1027.32~20.04.1
5.15.0-1027.32~20.04.1
ubuntu/linux-gkeop-5.15<5.15.0-1012.16~20.04.1
5.15.0-1012.16~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-57.63~20.04.1
5.15.0-57.63~20.04.1
ubuntu/linux-intel-iotg-5.15<5.15.0-1023.28~20.04.1
5.15.0-1023.28~20.04.1
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-58.64~20.04.1
5.15.0-58.64~20.04.1
ubuntu/linux-oracle-5.15<5.15.0-1027.33~20.04.1
5.15.0-1027.33~20.04.1
ubuntu/linux-riscv-5.15<5.15.0-1027.31~20.04.1
5.15.0-1027.31~20.04.1
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux<5.15.0-57.63
5.15.0-57.63
ubuntu/linux-aws<5.15.0-1027.31
5.15.0-1027.31
ubuntu/linux-azure<5.15.0-1030.37
5.15.0-1030.37
ubuntu/linux-azure-fde<5.15.0-1030.37.1
5.15.0-1030.37.1
ubuntu/linux-gcp<5.15.0-1026.33
5.15.0-1026.33
ubuntu/linux-gke<5.15.0-1024.29
5.15.0-1024.29
ubuntu/linux-gkeop<5.15.0-1012.16
5.15.0-1012.16
ubuntu/linux-ibm<5.15.0-1022.25
5.15.0-1022.25
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-intel-iotg<5.15.0-1023.28
5.15.0-1023.28
ubuntu/linux-kvm<5.15.0-1025.30
5.15.0-1025.30
ubuntu/linux-lowlatency<5.15.0-57.63
5.15.0-57.63
ubuntu/linux-nvidia<5.15.0-1015.15
5.15.0-1015.15
ubuntu/linux-oem-5.17*
ubuntu/linux-oracle<5.15.0-1026.32
5.15.0-1026.32
ubuntu/linux-raspi<5.15.0-1022.24
5.15.0-1022.24
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-realtime<5.15.0-1029.32
5.15.0-1029.32
ubuntu/linux-raspi-realtime*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.18
  2. Upgrade

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

    Fixed in 5.18.2-1
  3. Upgrade

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

    Fixed in 5.10.149-1Fixed in 5.18.2-1
  4. Upgrade

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

    Fixed in 5.10.149-2~deb10u1
  5. Upgrade

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

    Fixed in 5.15.0-1027.31~20.04.1
  6. Upgrade

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

    Fixed in 5.15.0-1030.37~20.04.1
  7. Upgrade

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

    Fixed in 5.15.0-1030.37~20.04.1.1
  8. Upgrade

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

    Fixed in 5.15.0-1027.34~20.04.1
  9. Upgrade

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

    Fixed in 5.15.0-1027.32~20.04.1
  10. Upgrade

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

    Fixed in 5.15.0-1012.16~20.04.1
  11. Upgrade

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

    Fixed in 5.15.0-57.63~20.04.1
  12. Upgrade

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

    Fixed in 5.15.0-1023.28~20.04.1
  13. Upgrade

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

    Fixed in 5.15.0-58.64~20.04.1
  14. Upgrade

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

    Fixed in 5.15.0-1027.33~20.04.1
  15. Upgrade

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

    Fixed in 5.15.0-1027.31~20.04.1
  16. Upgrade

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

    Fixed in 5.15.0-57.63
  17. Upgrade

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

    Fixed in 5.15.0-1027.31
  18. Upgrade

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

    Fixed in 5.15.0-1030.37
  19. Upgrade

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

    Fixed in 5.15.0-1030.37.1
  20. Upgrade

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

    Fixed in 5.15.0-1026.33
  21. Upgrade

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

    Fixed in 5.15.0-1024.29
  22. Upgrade

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

    Fixed in 5.15.0-1012.16
  23. Upgrade

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

    Fixed in 5.15.0-1022.25
  24. Upgrade

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

    Fixed in 5.15.0-1023.28
  25. Upgrade

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

    Fixed in 5.15.0-1025.30
  26. Upgrade

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

    Fixed in 5.15.0-57.63
  27. Upgrade

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

    Fixed in 5.15.0-1015.15
  28. Upgrade

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

    Fixed in 5.15.0-1026.32
  29. Upgrade

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

    Fixed in 5.15.0-1022.24
  30. Upgrade

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

    Fixed in 5.15.0-1029.32
  31. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch bb4ce2c65881a2b9bdcd384f54a260a12a89dd91

Event History

Jan 10, 2022
Data Sourced
03:25 PM
DescriptionSeverityAffected Software
Aug 26, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
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
06:15 PM
Weakness
Jul 21, 2023
Updated
via NVD·04:54 PM
Affected Software
Sep 19, 2023
Data Sourced
via Red Hat·02:13 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·06:38 AM
RemedyAffected Software
Oct 14, 2026
Data Sourced
via NVD·01:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·01:17 PM
RemedyAffected Software
Nov 2, 2026
Updated
via NVD·07:17 PM
Affected Software
Nov 24, 2026
Data Sourced
via OSV·02:54 PM
SeverityAffected 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-0171?

CVE-2022-0171 is a high-severity vulnerability that could allow a non-root user-level application to crash the host kernel.

2

How do I fix CVE-2022-0171?

To fix CVE-2022-0171, users should update their Linux kernel to version 5.18 or later.

3

Which Linux distributions are affected by CVE-2022-0171?

CVE-2022-0171 affects Red Hat Enterprise Linux and Debian-based distributions with specific kernel versions listed.

4

Can CVE-2022-0171 impact virtualization security?

Yes, CVE-2022-0171 poses a risk to virtualization security as it affects the KVM SEV API used in AMD CPUs.

5

Is there a workaround for CVE-2022-0171?

There are currently no documented workarounds for CVE-2022-0171; the best approach is to apply the kernel update promptly.

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