CVE-2021-4002: Linux Kernel - Information Disclosure
- Cve: CVE-2021-4002
- Name: Linux Kernel - Information Disclosure
- 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.
- Impact: Local users can access sensitive data they are not authorized to view, potentially leading to information disclosure.
- Remediation: Update to the latest Linux kernel version where this issue is fixed.
- Vulnerability impact: information_disclosure
- Requirement type: logged_in
- Requirements: Attacker needs local user privileges
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.4
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.00515
- Epss percentile: 0.44745
- Assignee: [email protected]
- Published at: 2022-03-03T22:15:08Z
- Age in days: 1727
- Modified at: 2026-06-17T04:18:53Z
- Patch available: yes
- Public exploits total: 1
- References total: 8
- Products total: 6
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-4002
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-459 | Incomplete Cleanup |
| CWE-401 | Missing Release of Memory after Effective Lifetime |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.openwall.com/lists/oss-security/2021/11/25/1 | nvd | 2022-03-03 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=13e4ad2ce8df6e058ef482a31fdd81c725b0f7ea | Patch, Vendor Advisory |
| https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a4a118f2eead1d6c49e00765de89878288d4b890 | Patch, Vendor Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | Patch, Third Party Advisory |
| https://www.openwall.com/lists/oss-security/2021/11/25/1 | Exploit, Mailing List, Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2025726 | Issue Tracking, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html | Mailing List, Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5096 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-03-03
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports