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

Published Aug 20, 2021
·
Updated

A flaw was found in the Linux kernel. A memory leak in the ccp-ops crypto driver can allow attackers to cause a denial of service. This vulnerability is similar with the older CVE-2019-18808. The highest threat from this vulnerability is to system availability.

Other sources

A memory leak flaw was found in the Linux kernel in the ccprunaesgcmcmd() function in drivers/crypto/ccp/ccp-ops.c, which allows attackers to cause a denial of service (memory consumption). This vulnerability is similar with the older CVE-2019-18808.

A memory leak in the ccprunaesgcmcmd() function in drivers/crypto/ccp/ccp-ops.c in the Linux kernel allows attackers to cause a denial of service (memory consumption).

The patch for this one fixes: 1) If we ccpinitdata() fails for &src then we need to free aad. Use goto eaad instead of goto ectx. 2) The label to free the &finalwa was named incorrectly as "etag" but it should have been "efinalwa". One error path leaked &finalwa. 3) The &tag was leaked on one error path. In that case, I added a free before the goto because the resource was local to that block.

This vulnerability is similar with the older CVE-2019-18808.

Reference: https://seclists.org/oss-sec/2021/q3/164

— Red Hat

Affected Software

126 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-372.9.1.rt7.166.el8
0:4.18.0-372.9.1.rt7.166.el8
redhat/kernel<0:4.18.0-372.9.1.el8
0:4.18.0-372.9.1.el8
Linux Linux kernel<5.15
Linux Linux kernel=5.15
Linux Linux kernel=5.15-rc1
Linux Linux kernel=5.15-rc2
Linux Linux kernel=5.15-rc3
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0
Debian Debian Linux=10.0
redhat Build Of Quarkus=2.0
redhat Codeready Linux Builder=8.0
redhat Codeready Linux Builder Eus=8.6
redhat Codeready Linux Builder For Power Little Endian=8.0
redhat Codeready Linux Builder For Power Little Endian Eus=8.6
redhat Developer Tools=1.0
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux For Ibm Z Systems Eus=8.6
redhat Enterprise Linux For Power Little Endian Eus=8.6
redhat Enterprise Linux For Real Time=8
redhat Enterprise Linux For Real Time=8.6
redhat Enterprise Linux For Real Time For Nfv=8
redhat Enterprise Linux For Real Time For Nfv Tus=8.6
redhat Enterprise Linux Server Eus=8.6
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.6
redhat Enterprise Linux Server Tus=8.6
redhat Enterprise Linux Server Update Services For Sap Solutions=8.6
All of the following
redhat Virtualization Host=4.0
redhat Enterprise Linux=8.0
Oracle Communications Cloud Native Core Binding Support Function=22.1.3
Oracle Communications Cloud Native Core Network Exposure Function=22.1.1
Oracle Communications Cloud Native Core Policy=22.2.0
redhat Virtualization Host=4.0
redhat Enterprise Linux=8.0
ubuntu/linux-azure<4.15.0-1127.140~14.04.1
4.15.0-1127.140~14.04.1
ubuntu/linux-aws-hwe<4.15.0-1116.123~16.04.1
4.15.0-1116.123~16.04.1
ubuntu/linux-azure<4.15.0-1127.140~16.04.1
4.15.0-1127.140~16.04.1
ubuntu/linux-gcp<4.15.0-1112.126~16.04.1
4.15.0-1112.126~16.04.1
ubuntu/linux-hwe<4.15.0-163.171~16.04.1
4.15.0-163.171~16.04.1
ubuntu/linux-oracle<4.15.0-1084.92~16.04.1
4.15.0-1084.92~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux<4.15.0-163.171
4.15.0-163.171
ubuntu/linux-aws<4.15.0-1116.123
4.15.0-1116.123
ubuntu/linux-aws-5.4<5.4.0-1060.63~18.04.1
5.4.0-1060.63~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1127.140
4.15.0-1127.140
ubuntu/linux-azure-5.4<5.4.0-1064.67~18.04.1
5.4.0-1064.67~18.04.1
ubuntu/linux-dell300x<4.15.0-1031.36
4.15.0-1031.36
ubuntu/linux-gcp-4.15<4.15.0-1112.126
4.15.0-1112.126
ubuntu/linux-gcp-5.4<5.4.0-1058.62~18.04.1
5.4.0-1058.62~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1056.59~18.04.1
5.4.0-1056.59~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1027.28~18.04.1
5.4.0-1027.28~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-91.102~18.04.1
5.4.0-91.102~18.04.1
ubuntu/linux-kvm<4.15.0-1103.105
4.15.0-1103.105
ubuntu/linux-oracle<4.15.0-1084.92
4.15.0-1084.92
ubuntu/linux-oracle-5.4<5.4.0-1058.62~18.04.1
5.4.0-1058.62~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1047.52~18.04.1
5.4.0-1047.52~18.04.1
ubuntu/linux-raspi2<4.15.0-1099.106
4.15.0-1099.106
ubuntu/linux-snapdragon<4.15.0-1116.125
4.15.0-1116.125
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-2057.59
4.15.0-2057.59
ubuntu/linux-azure-fips<4.15.0-2039.43
4.15.0-2039.43
ubuntu/linux-fips<4.15.0-1073.82
4.15.0-1073.82
ubuntu/linux-gcp-fips<4.15.0-2022.24
4.15.0-2022.24
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-91.102
5.4.0-91.102
ubuntu/linux-aws<5.4.0-1060.63
5.4.0-1060.63
ubuntu/linux-aws-5.11<5.11.0-1022.23~20.04.1
5.11.0-1022.23~20.04.1
ubuntu/linux-azure<5.4.0-1064.67
5.4.0-1064.67
ubuntu/linux-azure-5.11<5.11.0-1022.23~20.04.1
5.11.0-1022.23~20.04.1
ubuntu/linux-bluefield<5.4.0-1022.25
5.4.0-1022.25
ubuntu/linux-gcp<5.4.0-1058.62
5.4.0-1058.62
ubuntu/linux-gcp-5.11<5.11.0-1023.25~20.04.1
5.11.0-1023.25~20.04.1
ubuntu/linux-gke<5.4.0-1056.59
5.4.0-1056.59
ubuntu/linux-gkeop<5.4.0-1027.28
5.4.0-1027.28
ubuntu/linux-hwe-5.11<5.11.0-41.45~20.04.1
5.11.0-41.45~20.04.1
ubuntu/linux-hwe-5.13<5.13.0-22.22~20.04.1
5.13.0-22.22~20.04.1
ubuntu/linux-ibm<5.4.0-1008.9
5.4.0-1008.9
ubuntu/linux-kvm<5.4.0-1050.52
5.4.0-1050.52
ubuntu/linux-oem-5.10<5.10.0-1051.53
5.10.0-1051.53
ubuntu/linux-oem-5.13<5.13.0-1020.24
5.13.0-1020.24
ubuntu/linux-oem-5.14<5.14.0-1007.7
5.14.0-1007.7
ubuntu/linux-oracle<5.4.0-1058.62
5.4.0-1058.62
ubuntu/linux-oracle-5.11<5.11.0-1022.23~20.04.1
5.11.0-1022.23~20.04.1
ubuntu/linux-raspi<5.4.0-1047.52
5.4.0-1047.52
ubuntu/linux-riscv-5.11<5.11.0-1023.24~20.04.1
5.11.0-1023.24~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-intel-5.13*
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-1037.43
5.4.0-1037.43
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*
debian/linux
6.1.176-16.1.190-16.12.107-16.12.116-17.2.15-17.3.4-1

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-372.9.1.rt7.166.el8
  2. Upgrade

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

    Fixed in 0:4.18.0-372.9.1.el8
  3. Upgrade

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

    Fixed in 4.15.0-1127.140~14.04.1
  4. Upgrade

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

    Fixed in 4.15.0-1116.123~16.04.1
  5. Upgrade

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

    Fixed in 4.15.0-1127.140~16.04.1
  6. Upgrade

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

    Fixed in 4.15.0-1112.126~16.04.1
  7. Upgrade

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

    Fixed in 4.15.0-163.171~16.04.1
  8. Upgrade

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

    Fixed in 4.15.0-1084.92~16.04.1
  9. Upgrade

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

    Fixed in 4.15.0-163.171
  10. Upgrade

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

    Fixed in 4.15.0-1116.123
  11. Upgrade

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

    Fixed in 5.4.0-1060.63~18.04.1
  12. Upgrade

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

    Fixed in 4.15.0-1127.140
  13. Upgrade

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

    Fixed in 5.4.0-1064.67~18.04.1
  14. Upgrade

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

    Fixed in 4.15.0-1031.36
  15. Upgrade

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

    Fixed in 4.15.0-1112.126
  16. Upgrade

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

    Fixed in 5.4.0-1058.62~18.04.1
  17. Upgrade

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

    Fixed in 5.4.0-1056.59~18.04.1
  18. Upgrade

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

    Fixed in 5.4.0-1027.28~18.04.1
  19. Upgrade

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

    Fixed in 5.4.0-91.102~18.04.1
  20. Upgrade

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

    Fixed in 4.15.0-1103.105
  21. Upgrade

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

    Fixed in 4.15.0-1084.92
  22. Upgrade

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

    Fixed in 5.4.0-1058.62~18.04.1
  23. Upgrade

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

    Fixed in 5.4.0-1047.52~18.04.1
  24. Upgrade

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

    Fixed in 4.15.0-1099.106
  25. Upgrade

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

    Fixed in 4.15.0-1116.125
  26. Upgrade

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

    Fixed in 4.15.0-2057.59
  27. Upgrade

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

    Fixed in 4.15.0-2039.43
  28. Upgrade

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

    Fixed in 4.15.0-1073.82
  29. Upgrade

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

    Fixed in 4.15.0-2022.24
  30. Upgrade

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

    Fixed in 5.4.0-91.102
  31. Upgrade

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

    Fixed in 5.4.0-1060.63
  32. Upgrade

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

    Fixed in 5.11.0-1022.23~20.04.1
  33. Upgrade

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

    Fixed in 5.4.0-1064.67
  34. Upgrade

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

    Fixed in 5.11.0-1022.23~20.04.1
  35. Upgrade

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

    Fixed in 5.4.0-1022.25
  36. Upgrade

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

    Fixed in 5.4.0-1058.62
  37. Upgrade

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

    Fixed in 5.11.0-1023.25~20.04.1
  38. Upgrade

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

    Fixed in 5.4.0-1056.59
  39. Upgrade

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

    Fixed in 5.4.0-1027.28
  40. Upgrade

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

    Fixed in 5.11.0-41.45~20.04.1
  41. Upgrade

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

    Fixed in 5.13.0-22.22~20.04.1
  42. Upgrade

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

    Fixed in 5.4.0-1008.9
  43. Upgrade

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

    Fixed in 5.4.0-1050.52
  44. Upgrade

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

    Fixed in 5.10.0-1051.53
  45. Upgrade

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

    Fixed in 5.13.0-1020.24
  46. Upgrade

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

    Fixed in 5.14.0-1007.7
  47. Upgrade

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

    Fixed in 5.4.0-1058.62
  48. Upgrade

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

    Fixed in 5.11.0-1022.23~20.04.1
  49. Upgrade

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

    Fixed in 5.4.0-1047.52
  50. Upgrade

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

    Fixed in 5.11.0-1023.24~20.04.1
  51. Upgrade

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

    Fixed in 5.4.0-1069.73+fips2
  52. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  53. Upgrade

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

    Fixed in 5.4.0-1037.43
  54. Upgrade

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

    Fixed in 5.4.0-1067.71~20.04.1
  55. Upgrade

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

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.116-1Fixed in 7.2.15-1Fixed in 7.3.4-1

Event History

Aug 20, 2021
CVE Published
12:00 AM
Sep 2, 2021
Data Sourced
via Red Hat·02:23 PM
DescriptionSeverityAffected Software
Sep 15, 2021
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Mar 4, 2022
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
DescriptionWeakness

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-2021-3744?

CVE-2021-3744 has a high severity rating because it can lead to denial of service due to a memory leak in the Linux kernel.

2

How do I fix CVE-2021-3744?

To fix CVE-2021-3744, update to the recommended kernel versions specified by your Linux distribution vendor.

3

Which software versions are affected by CVE-2021-3744?

CVE-2021-3744 affects multiple versions of the Linux kernel, including Kernel-RT and standard kernels up to certain releases.

4

Can CVE-2021-3744 be exploited remotely?

CVE-2021-3744 primarily affects system availability and can potentially be exploited remotely by attackers.

5

What is the impact of CVE-2021-3744 on system performance?

CVE-2021-3744 can cause system performance degradation and unavailability due to memory leaks leading to denial of service.

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