CVE-2021-3759
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-3759 is a memory overflow vulnerability discovered in the Linux kernel's IPC functionality of the memcg subsystem. The vulnerability was identified in the way a user calls the semget function multiple times to create semaphores. The issue was disclosed in July 2021 and affects various Linux kernel versions (Kernel Patch, Ubuntu Security).

Technical details

The vulnerability stems from the Linux kernel's failure to properly account for the memory usage of certain IPC objects in the memcg subsystem. Under default sysctl settings, a malicious user could allocate up to 32,000 unaccounted semaphore sets with up to 32,000 unaccounted semaphore objects in each set, plus one sem_undo unaccounted object for each semaphore set. This could result in approximately 63GB of unaccounted memory while being charged for less than 1MB of memory usage. The vulnerability has been assigned a CVSS 3 Severity Score of 5.5 (Medium) (Ubuntu Security).

Impact

The primary impact of this vulnerability is on system availability. A local attacker could exploit this flaw to starve system resources by consuming unaccounted memory, potentially leading to system crashes due to memory exhaustion. The highest threat from this vulnerability is to system availability through denial of service attacks (Ubuntu Security, Debian Security).

Mitigation and workarounds

The vulnerability has been fixed in multiple Linux distributions through security updates. Ubuntu has released fixes for various versions including 21.10 (impish), 21.04 (hirsute), 20.04 LTS (focal), and 18.04 LTS (bionic). Debian has addressed the issue in version 5.10.158-2~deb10u1 for Debian 10 buster. Red Hat has also provided fixes through various security advisories (Ubuntu Security, Debian Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management