SecurityContext

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

IdName
CWE-459Incomplete Cleanup
CWE-401Missing Release of Memory after Effective Lifetime

Public exploits

UrlSourceAdded date
https://www.openwall.com/lists/oss-security/2021/11/25/1nvd2022-03-03

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=13e4ad2ce8df6e058ef482a31fdd81c725b0f7eaPatch, Vendor Advisory
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a4a118f2eead1d6c49e00765de89878288d4b890Patch, Vendor Advisory
https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
https://www.openwall.com/lists/oss-security/2021/11/25/1Exploit, Mailing List, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2025726Issue Tracking, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/03/msg00011.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing List, Third Party Advisory
https://www.debian.org/security/2022/dsa-5096Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
linux:linux_kernel< 5.16, = 5.16, = 5.16 rc1, = 5.16 rc2/v1/products/linux/linux_kernel
debian:debian_linux= 10.0, = 9.0/v1/products/debian/debian_linux
fedoraproject:fedora= 35/v1/products/fedoraproject/fedora
oracle:communications_cloud_native_core_policy= 22.2.0/v1/products/oracle/communications_cloud_native_core_policy
oracle:communications_cloud_native_core_binding_support_function= 22.1.3/v1/products/oracle/communications_cloud_native_core_binding_support_function
oracle:communications_cloud_native_core_network_exposure_function= 22.1.1/v1/products/oracle/communications_cloud_native_core_network_exposure_function

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcommityes/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