CVE-2021-4002: debian debian_linux Incomplete Cleanup
Vulnerability summary
CVE-2021-4002 is a medium (CVSS 4.4) Incomplete Cleanup vulnerability in debian debian_linux. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 43.9% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 29 · Related 21Timeline
- 03-03-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A memory leak flaw in the Linux kernel's hugetlbfs memory usage was found in the way the user maps some regions of memory twice using shmget() which are aligned to PUD alignment with the fault of some of the memory pages. A local user could use this flaw to get unauthorized access to some data.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.52% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (openwall.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-459Incomplete CleanupThe product does not properly "clean up" and remove temporary or supporting resources after they have been used.
- CWE-401Missing Release of Memory after Effective LifetimeThe product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu63 products
- linux< 3.13.0-189.240 | < 4.4.0-218.251 | < 4.15.0-166.174 | < 5.4.0-92.103
- linux-aws< 4.4.0-1098.103 | < 4.4.0-1134.148 | < 4.15.0-1118.125 | < 5.4.0-1061.64
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11< 5.11.0-1023.24~20.04.1
- linux-aws-5.3All versions (No fix recorded)
Oracle3 products
Debian2 products
- linux< 5.15.5-1
- debian_linuxEOL9.0 | 10.0
Fedoraproject1 product
- fedoraEOL35
Linux1 product
- linux_kernelEOL< 5.16 | 5.16 | 5.16:rc1 | 5.16:rc2
5 vendors · 70 products
References
20 links- www.openwall.com/lists/oss-security/2021/11/25/1X Refsource MISCREPORTExploitMailing ListThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/03/msg00011.htmlMailing ListX Refsource MLISTThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing ListX Refsource MLISTThird Party Advisory