CVE-2021-4002

Summary

CVECVE-2021-4002
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-03-03 22:15:00 UTC
Updated2023-02-22 17:46:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-401

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Linux Linux Kernel All All All All
Operating System Linux Linux Kernel 5.16 - All All
Operating System Linux Linux Kernel 5.16 rc1 All All
Operating System Linux Linux Kernel 5.16 rc2 All All
Application Oracle Communications Cloud Native Core Binding Support Function 22.1.3 All All All
Application Oracle Communications Cloud Native Core Network Exposure Function 22.1.1 All All All
Application Oracle Communications Cloud Native Core Policy 22.2.0 All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 2941-1] linux-4.19 security update MLIST lists.debian.org
[SECURITY] [DLA 2940-1] linux security update MLIST lists.debian.org
kernel/git/torvalds/linux.git - Linux kernel source tree MISC git.kernel.org
oss-security - CVE-2021-4002: Linux kernel: Missing TLB flush on hugetlbfs MISC www.openwall.com
2025726 – (CVE-2021-4002) CVE-2021-4002 kernel: possible leak or coruption of data residing on hugetlbfs MISC bugzilla.redhat.com
kernel/git/torvalds/linux.git - Linux kernel source tree MISC git.kernel.org
Debian -- Security Information -- DSA-5096-1 linux DEBIAN www.debian.org
Oracle Critical Patch Update Advisory - July 2022 N/A www.oracle.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159760 Oracle Enterprise Linux Security Update for unbreakable enterprise kernel-container (ELSA-2022-9314)
  • 159763 Oracle Enterprise Linux Security Update for unbreakable enterprise kernel (ELSA-2022-9313)
  • 159777 Oracle Enterprise Linux Security Update for unbreakable enterprise kernel (ELSA-2022-9348)
  • 159825 Oracle Enterprise Linux Security Update for kernel (ELSA-2022-1988)
  • 179117 Debian Security Update for linux (DSA 5096-1)
  • 179118 Debian Security Update for linux (DLA 2940-1)
  • 179119 Debian Security Update for linux-4.19 (DLA 2941-1)
  • 180291 Debian Security Update for linux (CVE-2021-4002)
  • 198616 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5207-1)
  • 198617 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5209-1)
  • 198618 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5210-1)
  • 198619 Ubuntu Security Notification for Linux kernel (OEM) Vulnerability (USN-5206-1)
  • 198621 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5208-1)
  • 198627 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5218-1)
  • 240275 Red Hat Update for kernel-rt (RHSA-2022:1975)
  • 240298 Red Hat Update for kernel security (RHSA-2022:1988)
  • 282133 Fedora Security Update for kernel (FEDORA-2021-19ad835cb3)
  • 353073 Amazon Linux Security Advisory for kernel-livepatch : ALAS2LIVEPATCH-2021-072
  • 353074 Amazon Linux Security Advisory for kernel-livepatch : ALAS2LIVEPATCH-2021-071
  • 353075 Amazon Linux Security Advisory for kernel-livepatch : ALAS2LIVEPATCH-2021-070
  • 353076 Amazon Linux Security Advisory for kernel-livepatch : ALAS2LIVEPATCH-2021-069
  • 353079 Amazon Linux Security Advisory for kernel : ALAS2-2021-1727
  • 353141 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2022-010
  • 353152 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2022-008
  • 353161 Amazon Linux Security Advisory for kernel : ALAS-2022-1563
  • 353242 Amazon Linux Security Advisory for kernel : ALAC2012-2022-036
  • 353243 Amazon Linux Security Advisory for kmod-mlx5 : ALAC2012-2022-037
  • 353244 Amazon Linux Security Advisory for kmod-sfc : ALAC2012-2022-038
  • 354747 Amazon Linux Security Advisory for kernel : ALAS-2023-1688
  • 377181 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2022:0022)
  • 390261 Oracle Managed Virtualization (VM) Server for x86 Security Update for kernel (OVMSA-2022-0014)
  • 671367 EulerOS Security Update for kernel (EulerOS-SA-2022-1308)
  • 671380 EulerOS Security Update for kernel (EulerOS-SA-2022-1292)
  • 671401 EulerOS Security Update for kernel (EulerOS-SA-2022-1328)
  • 671441 EulerOS Security Update for kernel (EulerOS-SA-2022-1366)
  • 671498 EulerOS Security Update for kernel (EulerOS-SA-2022-1466)
  • 671543 EulerOS Security Update for kernel (EulerOS-SA-2022-1475)
  • 671703 EulerOS Security Update for kernel (EulerOS-SA-2022-1735)
  • 751590 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0056-1)
  • 751600 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0068-1)
  • 751602 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0080-1)
  • 751622 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0131-1)
  • 751654 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0197-1)
  • 751695 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0367-1)
  • 751697 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0366-1)
  • 751698 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0362-1)
  • 751701 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0366-1)
  • 751702 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0371-1)
  • 751989 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0131-1)
  • 753133 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0181-1)
  • 753264 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0079-1)
  • 753355 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0056-1)
  • 900754 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8988)
  • 901343 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8988-1)
  • 901477 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8995-1)
  • 905926 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8988-2)
  • 906283 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8995-2)
  • 940517 AlmaLinux Security Update for kernel (ALSA-2022:1988)
  • 960132 Rocky Linux Security Update for kernel-rt (RLSA-2022:1975)
  • 960134 Rocky Linux Security Update for kernel (RLSA-2022:1988)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report