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

Published Jul 15, 2021
·
Updated

A memory overflow vulnerability was found in the Linux kernel’s ipc functionality of the memcg subsystem, in the way a user calls the semget function multiple times, creating semaphores. This flaw allows a local user to starve the resources, causing a denial of service. The highest threat from this vulnerability is to system availability.

Other sources

There is a missing-accounting vulnerability in memcg subsystem of Linux kernel, leading to out of memory and then host system crashes because of this.

Reference: https://lore.kernel.org/linux-mm/1626333284-1404-1-git-send-email-nglaive@gmail.com/

— Red Hat

Affected Software

93 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
redhat/linux kernel<5.15
5.15
Linux Linux kernel
Debian Debian Linux=10.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
ubuntu/linux-azure<4.15.0-1126.139~14.04.1
4.15.0-1126.139~14.04.1
ubuntu/linux-aws-hwe<4.15.0-1115.122~16.04.1
4.15.0-1115.122~16.04.1
ubuntu/linux-azure<4.15.0-1126.139~16.04.1
4.15.0-1126.139~16.04.1
ubuntu/linux-gcp<4.15.0-1111.125~16.04.1
4.15.0-1111.125~16.04.1
ubuntu/linux-hwe<4.15.0-162.170~16.04.1
4.15.0-162.170~16.04.1
ubuntu/linux-oracle<4.15.0-1083.91~16.04.1
4.15.0-1083.91~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux<4.15.0-162.170
4.15.0-162.170
ubuntu/linux-aws<4.15.0-1115.122
4.15.0-1115.122
ubuntu/linux-aws-5.4<5.4.0-1059.62~18.04.1
5.4.0-1059.62~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1126.139
4.15.0-1126.139
ubuntu/linux-azure-5.4<5.4.0-1063.66~18.04.1
5.4.0-1063.66~18.04.1
ubuntu/linux-dell300x<4.15.0-1030.35
4.15.0-1030.35
ubuntu/linux-gcp-4.15<4.15.0-1111.125
4.15.0-1111.125
ubuntu/linux-gcp-5.4<5.4.0-1057.61~18.04.1
5.4.0-1057.61~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1055.58~18.04.1
5.4.0-1055.58~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1026.27~18.04.1
5.4.0-1026.27~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-90.101~18.04.1
5.4.0-90.101~18.04.1
ubuntu/linux-kvm<4.15.0-1102.104
4.15.0-1102.104
ubuntu/linux-oracle<4.15.0-1083.91
4.15.0-1083.91
ubuntu/linux-oracle-5.4<5.4.0-1057.61~18.04.1
5.4.0-1057.61~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1046.50~18.04.1
5.4.0-1046.50~18.04.1
ubuntu/linux-raspi2<4.15.0-1098.104
4.15.0-1098.104
ubuntu/linux-snapdragon<4.15.0-1115.124
4.15.0-1115.124
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-2056.58
4.15.0-2056.58
ubuntu/linux-azure-fips<4.15.0-2038.42
4.15.0-2038.42
ubuntu/linux-fips<4.15.0-1072.81
4.15.0-1072.81
ubuntu/linux-gcp-fips<4.15.0-2021.23
4.15.0-2021.23
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-90.101
5.4.0-90.101
ubuntu/linux-aws<5.4.0-1059.62
5.4.0-1059.62
ubuntu/linux-aws-5.11<5.11.0-1021.22~20.04.2
5.11.0-1021.22~20.04.2
ubuntu/linux-azure<5.4.0-1063.66
5.4.0-1063.66
ubuntu/linux-azure-5.11<5.11.0-1021.22~20.04.1
5.11.0-1021.22~20.04.1
ubuntu/linux-azure-5.8<5.8.0-1043.46~20.04.1
5.8.0-1043.46~20.04.1
ubuntu/linux-bluefield<5.4.0-1021.24
5.4.0-1021.24
ubuntu/linux-gcp<5.4.0-1057.61
5.4.0-1057.61
ubuntu/linux-gcp-5.11<5.11.0-1022.24~20.04.1
5.11.0-1022.24~20.04.1
ubuntu/linux-gke<5.4.0-1055.58
5.4.0-1055.58
ubuntu/linux-gkeop<5.4.0-1026.27
5.4.0-1026.27
ubuntu/linux-hwe-5.11<5.11.0-40.44~20.04.2
5.11.0-40.44~20.04.2
ubuntu/linux-ibm<5.4.0-1007.8
5.4.0-1007.8
ubuntu/linux-kvm<5.4.0-1049.51
5.4.0-1049.51
ubuntu/linux-oem-5.10<5.10.0-1050.52
5.10.0-1050.52
ubuntu/linux-oem-5.13<5.13.0-1017.21
5.13.0-1017.21
ubuntu/linux-oracle<5.4.0-1057.61
5.4.0-1057.61
ubuntu/linux-oracle-5.11<5.11.0-1021.22~20.04.1
5.11.0-1021.22~20.04.1
ubuntu/linux-raspi<5.4.0-1046.50
5.4.0-1046.50
ubuntu/linux-riscv-5.11<5.11.0-1022.23~20.04.1
5.11.0-1022.23~20.04.1
ubuntu/linux-aws-5.8*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.14*
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-1036.42
5.4.0-1036.42
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*

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 redhat/Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.15
  4. 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
  5. Upgrade

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

    Fixed in 4.15.0-1126.139~14.04.1
  6. Upgrade

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

    Fixed in 4.15.0-1115.122~16.04.1
  7. Upgrade

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

    Fixed in 4.15.0-1126.139~16.04.1
  8. Upgrade

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

    Fixed in 4.15.0-1111.125~16.04.1
  9. Upgrade

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

    Fixed in 4.15.0-162.170~16.04.1
  10. Upgrade

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

    Fixed in 4.15.0-1083.91~16.04.1
  11. Upgrade

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

    Fixed in 4.15.0-162.170
  12. Upgrade

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

    Fixed in 4.15.0-1115.122
  13. Upgrade

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

    Fixed in 5.4.0-1059.62~18.04.1
  14. Upgrade

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

    Fixed in 4.15.0-1126.139
  15. Upgrade

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

    Fixed in 5.4.0-1063.66~18.04.1
  16. Upgrade

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

    Fixed in 4.15.0-1030.35
  17. Upgrade

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

    Fixed in 4.15.0-1111.125
  18. Upgrade

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

    Fixed in 5.4.0-1057.61~18.04.1
  19. Upgrade

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

    Fixed in 5.4.0-1055.58~18.04.1
  20. Upgrade

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

    Fixed in 5.4.0-1026.27~18.04.1
  21. Upgrade

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

    Fixed in 5.4.0-90.101~18.04.1
  22. Upgrade

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

    Fixed in 4.15.0-1102.104
  23. Upgrade

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

    Fixed in 4.15.0-1083.91
  24. Upgrade

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

    Fixed in 5.4.0-1057.61~18.04.1
  25. Upgrade

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

    Fixed in 5.4.0-1046.50~18.04.1
  26. Upgrade

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

    Fixed in 4.15.0-1098.104
  27. Upgrade

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

    Fixed in 4.15.0-1115.124
  28. Upgrade

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

    Fixed in 4.15.0-2056.58
  29. Upgrade

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

    Fixed in 4.15.0-2038.42
  30. Upgrade

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

    Fixed in 4.15.0-1072.81
  31. Upgrade

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

    Fixed in 4.15.0-2021.23
  32. Upgrade

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

    Fixed in 5.4.0-90.101
  33. Upgrade

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

    Fixed in 5.4.0-1059.62
  34. Upgrade

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

    Fixed in 5.11.0-1021.22~20.04.2
  35. Upgrade

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

    Fixed in 5.4.0-1063.66
  36. Upgrade

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

    Fixed in 5.11.0-1021.22~20.04.1
  37. Upgrade

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

    Fixed in 5.8.0-1043.46~20.04.1
  38. Upgrade

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

    Fixed in 5.4.0-1021.24
  39. Upgrade

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

    Fixed in 5.4.0-1057.61
  40. Upgrade

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

    Fixed in 5.11.0-1022.24~20.04.1
  41. Upgrade

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

    Fixed in 5.4.0-1055.58
  42. Upgrade

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

    Fixed in 5.4.0-1026.27
  43. Upgrade

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

    Fixed in 5.11.0-40.44~20.04.2
  44. Upgrade

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

    Fixed in 5.4.0-1007.8
  45. Upgrade

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

    Fixed in 5.4.0-1049.51
  46. Upgrade

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

    Fixed in 5.10.0-1050.52
  47. Upgrade

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

    Fixed in 5.13.0-1017.21
  48. Upgrade

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

    Fixed in 5.4.0-1057.61
  49. Upgrade

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

    Fixed in 5.11.0-1021.22~20.04.1
  50. Upgrade

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

    Fixed in 5.4.0-1046.50
  51. Upgrade

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

    Fixed in 5.11.0-1022.23~20.04.1
  52. Upgrade

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

    Fixed in 5.4.0-1069.73+fips2
  53. Upgrade

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

    Fixed in 5.4.0-1073.76+fips1
  54. Upgrade

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

    Fixed in 5.4.0-1036.42
  55. Upgrade

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

    Fixed in 5.4.0-1067.71~20.04.1

Event History

Jul 15, 2021
CVE Published
09:00 AM
Data Sourced
09:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 2, 2021
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Event
via OSV·12:00 AM
Aug 23, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jul 11, 2023
Data Sourced
via Red Hat·10:48 AM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·03:38 AM
DescriptionSeverityWeaknessAffected Software
Updated
03:38 AM
Affected Software
Nov 21, 2024
Updated
via NVD·06:22 AM
Affected Software
Oct 14, 2026
Updated
via NVD·10:17 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2021-3759?

CVE-2021-3759 has a high severity rating due to its potential to cause denial of service through resource starvation.

2

How do I fix CVE-2021-3759?

To fix CVE-2021-3759, you should upgrade to the specified patched versions of the Linux kernel, such as kernel-rt 0:4.18.0-372.9.1.rt7.166.el8 or 5.10.223-1 and newer.

3

What systems are affected by CVE-2021-3759?

CVE-2021-3759 affects various Linux distributions including Red Hat Enterprise Linux and Debian.

4

Can CVE-2021-3759 be exploited remotely?

CVE-2021-3759 cannot be exploited remotely as it requires local user access to the system.

5

What component of the Linux kernel does CVE-2021-3759 impact?

CVE-2021-3759 impacts the IPC functionality within the memory control group (memcg) subsystem 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