Vulnerability database / CVE-2021-4002
CVE-2021-4002
MEDIUM 4.4 CVSS 3.1 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.
Published 3 Mar 2022
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-401 CWE-459 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 4.4
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
LOW 3.6
AV:L/AC:L/Au:N/C:P/I:P/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
< 5.16
5.16 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.16:-:*:*:*:*:*:*
= 5.16
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*
= 5.16
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:*
= 5.16
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD
oracle
communications_cloud_native_core_binding_support_functioncpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:22.1.3:*:*:*:*:*:*:*
= 22.1.3
NVD
oracle
communications_cloud_native_core_network_exposure_functioncpe:2.3:a:oracle:communications_cloud_native_core_network_exposure_function:22.1.1:*:*:*:*:*:*:*
= 22.1.1
NVD
oracle
communications_cloud_native_core_policycpe:2.3:a:oracle:communications_cloud_native_core_policy:22.2.0:*:*:*:*:*:*:*
= 22.2.0
References
History
25 Nov 2026 20:34 UTC · NVD: first stored (published 3 Mar 2022)