CVE-2021-38198: Medium severity Linux Linux kernel vulnerability

Published Aug 8, 2021
·
Updated

arch/x86/kvm/mmu/pagingtmpl.h in the Linux kernel before 5.12.11 incorrectly computes the access permissions of a shadow page, leading to a missing guest protection page fault.

Affected Software

96 affected componentsFixes available
Linux Linux kernel<5.12.11
Debian Debian Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
ubuntu/linux-aws<4.4.0-1102.107
4.4.0-1102.107
ubuntu/linux-azure<4.15.0-1125.138~14.04.1
4.15.0-1125.138~14.04.1
ubuntu/linux-lts-xenial<4.4.0-222.255~14.04.1
4.4.0-222.255~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-222.255
4.4.0-222.255
ubuntu/linux-aws<4.4.0-1138.152
4.4.0-1138.152
ubuntu/linux-aws-hwe<4.15.0-1113.120~16.04.1
4.15.0-1113.120~16.04.1
ubuntu/linux-azure<4.15.0-1125.138~16.04.1
4.15.0-1125.138~16.04.1
ubuntu/linux-gcp<4.15.0-1110.124~16.04.1
4.15.0-1110.124~16.04.1
ubuntu/linux-hwe<4.15.0-161.169~16.04.1
4.15.0-161.169~16.04.1
ubuntu/linux-kvm<4.4.0-1103.112
4.4.0-1103.112
ubuntu/linux-oracle<4.15.0-1082.90~16.04.1
4.15.0-1082.90~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1072.78
4.4.0-1072.78
ubuntu/linux-fips*
ubuntu/linux<4.15.0-161.169
4.15.0-161.169
ubuntu/linux-aws<4.15.0-1114.121
4.15.0-1114.121
ubuntu/linux-aws-5.4<5.4.0-1058.61~18.04.3
5.4.0-1058.61~18.04.3
ubuntu/linux-azure-4.15<4.15.0-1125.138
4.15.0-1125.138
ubuntu/linux-azure-5.4<5.4.0-1062.65~18.04.1
5.4.0-1062.65~18.04.1
ubuntu/linux-dell300x<4.15.0-1029.34
4.15.0-1029.34
ubuntu/linux-gcp-4.15<4.15.0-1110.124
4.15.0-1110.124
ubuntu/linux-gcp-5.4<5.4.0-1056.60~18.04.1
5.4.0-1056.60~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1054.57~18.04.1
5.4.0-1054.57~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1025.26~18.04.1
5.4.0-1025.26~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-89.100~18.04.1
5.4.0-89.100~18.04.1
ubuntu/linux-kvm<4.15.0-1101.103
4.15.0-1101.103
ubuntu/linux-oracle<4.15.0-1082.90
4.15.0-1082.90
ubuntu/linux-oracle-5.4<5.4.0-1056.60~18.04.1
5.4.0-1056.60~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1045.49~18.04.1
5.4.0-1045.49~18.04.1
ubuntu/linux-raspi2<4.15.0-1097.103
4.15.0-1097.103
ubuntu/linux-snapdragon<4.15.0-1114.123
4.15.0-1114.123
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-gcp-edge*
ubuntu/linux-gke-4.15*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2055.57
4.15.0-2055.57
ubuntu/linux-azure-fips<4.15.0-2037.41
4.15.0-2037.41
ubuntu/linux-fips<4.15.0-1071.80
4.15.0-1071.80
ubuntu/linux-gcp-fips<4.15.0-2020.22
4.15.0-2020.22
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-89.100
5.4.0-89.100
ubuntu/linux-aws<5.4.0-1058.61
5.4.0-1058.61
ubuntu/linux-aws-5.11<5.11.0-1016.17~20.04.1
5.11.0-1016.17~20.04.1
ubuntu/linux-azure<5.4.0-1062.65
5.4.0-1062.65
ubuntu/linux-azure-5.11<5.11.0-1013.14~20.04.1
5.11.0-1013.14~20.04.1
ubuntu/linux-bluefield<5.4.0-1020.23
5.4.0-1020.23
ubuntu/linux-gcp<5.4.0-1056.60
5.4.0-1056.60
ubuntu/linux-gcp-5.11<5.11.0-1017.19~20.04.1
5.11.0-1017.19~20.04.1
ubuntu/linux-gke<5.4.0-1054.57
5.4.0-1054.57
ubuntu/linux-gkeop<5.4.0-1025.26
5.4.0-1025.26
ubuntu/linux-hwe-5.11<5.11.0-34.36~20.04.1
5.11.0-34.36~20.04.1
ubuntu/linux-ibm<5.4.0-1006.7
5.4.0-1006.7
ubuntu/linux-kvm<5.4.0-1048.50
5.4.0-1048.50
ubuntu/linux-oem-5.10<5.10.0-1038.40
5.10.0-1038.40
ubuntu/linux-oracle<5.4.0-1056.60
5.4.0-1056.60
ubuntu/linux-oracle-5.11<5.11.0-1016.17~20.04.1
5.11.0-1016.17~20.04.1
ubuntu/linux-raspi<5.4.0-1045.49
5.4.0-1045.49
ubuntu/linux-riscv-5.11<5.11.0-1017.18~20.04.1
5.11.0-1017.18~20.04.1
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.8*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.8*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-fips<5.4.0-1035.41
5.4.0-1035.41
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
ubuntu/linux-vmware*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

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

    Fixed in 4.4.0-1102.107
  3. Upgrade

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

    Fixed in 4.15.0-1125.138~14.04.1
  4. Upgrade

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

    Fixed in 4.4.0-222.255~14.04.1
  5. Upgrade

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

    Fixed in 4.4.0-222.255
  6. Upgrade

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

    Fixed in 4.4.0-1138.152
  7. Upgrade

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

    Fixed in 4.15.0-1113.120~16.04.1
  8. Upgrade

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

    Fixed in 4.15.0-1125.138~16.04.1
  9. Upgrade

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

    Fixed in 4.15.0-1110.124~16.04.1
  10. Upgrade

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

    Fixed in 4.15.0-161.169~16.04.1
  11. Upgrade

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

    Fixed in 4.4.0-1103.112
  12. Upgrade

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

    Fixed in 4.15.0-1082.90~16.04.1
  13. Upgrade

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

    Fixed in 4.4.0-1072.78
  14. Upgrade

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

    Fixed in 4.15.0-161.169
  15. Upgrade

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

    Fixed in 4.15.0-1114.121
  16. Upgrade

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

    Fixed in 5.4.0-1058.61~18.04.3
  17. Upgrade

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

    Fixed in 4.15.0-1125.138
  18. Upgrade

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

    Fixed in 5.4.0-1062.65~18.04.1
  19. Upgrade

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

    Fixed in 4.15.0-1029.34
  20. Upgrade

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

    Fixed in 4.15.0-1110.124
  21. Upgrade

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

    Fixed in 5.4.0-1056.60~18.04.1
  22. Upgrade

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

    Fixed in 5.4.0-1054.57~18.04.1
  23. Upgrade

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

    Fixed in 5.4.0-1025.26~18.04.1
  24. Upgrade

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

    Fixed in 5.4.0-89.100~18.04.1
  25. Upgrade

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

    Fixed in 4.15.0-1101.103
  26. Upgrade

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

    Fixed in 4.15.0-1082.90
  27. Upgrade

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

    Fixed in 5.4.0-1056.60~18.04.1
  28. Upgrade

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

    Fixed in 5.4.0-1045.49~18.04.1
  29. Upgrade

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

    Fixed in 4.15.0-1097.103
  30. Upgrade

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

    Fixed in 4.15.0-1114.123
  31. Upgrade

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

    Fixed in 4.15.0-2055.57
  32. Upgrade

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

    Fixed in 4.15.0-2037.41
  33. Upgrade

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

    Fixed in 4.15.0-1071.80
  34. Upgrade

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

    Fixed in 4.15.0-2020.22
  35. Upgrade

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

    Fixed in 5.4.0-89.100
  36. Upgrade

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

    Fixed in 5.4.0-1058.61
  37. Upgrade

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

    Fixed in 5.11.0-1016.17~20.04.1
  38. Upgrade

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

    Fixed in 5.4.0-1062.65
  39. Upgrade

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

    Fixed in 5.11.0-1013.14~20.04.1
  40. Upgrade

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

    Fixed in 5.4.0-1020.23
  41. Upgrade

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

    Fixed in 5.4.0-1056.60
  42. Upgrade

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

    Fixed in 5.11.0-1017.19~20.04.1
  43. Upgrade

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

    Fixed in 5.4.0-1054.57
  44. Upgrade

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

    Fixed in 5.4.0-1025.26
  45. Upgrade

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

    Fixed in 5.11.0-34.36~20.04.1
  46. Upgrade

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

    Fixed in 5.4.0-1006.7
  47. Upgrade

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

    Fixed in 5.4.0-1048.50
  48. Upgrade

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

    Fixed in 5.10.0-1038.40
  49. Upgrade

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

    Fixed in 5.4.0-1056.60
  50. Upgrade

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

    Fixed in 5.11.0-1016.17~20.04.1
  51. Upgrade

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

    Fixed in 5.4.0-1045.49
  52. Upgrade

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

    Fixed in 5.11.0-1017.18~20.04.1
  53. Upgrade

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

    Fixed in 5.4.0-1069.73+fips2
  54. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  55. Upgrade

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

    Fixed in 5.4.0-1035.41
  56. Upgrade

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

    Fixed in 5.4.0-1067.71~20.04.1
  57. Upgrade

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

    Fixed in 5.12.11

Event History

Aug 8, 2021
CVE Published
via MITRE·07:28 PM
Data Sourced
via MITRE·07:28 PM
Description
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-38198?

CVE-2021-38198 is classified as a high-severity vulnerability due to its potential to lead to security breaches in guest virtual machines.

2

How do I fix CVE-2021-38198?

To mitigate CVE-2021-38198, upgrade your Linux kernel to version 5.12.11 or later, or apply the relevant patches provided by your distribution.

3

Which Linux kernel versions are affected by CVE-2021-38198?

CVE-2021-38198 affects Linux kernel versions prior to 5.12.11.

4

Is CVE-2021-38198 specific to certain Linux distributions?

Yes, CVE-2021-38198 affects various Linux distributions that utilize vulnerable kernel versions, including Debian 9.0.

5

What types of systems are impacted by CVE-2021-38198?

CVE-2021-38198 impacts systems utilizing KVM for virtualization and running affected versions of the Linux kernel.

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