CVE-2021-4002
publishedkernel: possible leak or coruption of data residing on hugetlbfs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | kernelaffects kernel v3.6 and later through v5.15.5. | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1727 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2752 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-008 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-049 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-010 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
Show 106 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-093 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2021-069 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2021-070 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2021-071 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2021-072 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2021-073 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2021-074 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2LIVEPATCH-2025-229 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Debian | buster | linux | Advisory build | 4.19.232-1 | DSA-5096-1 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| Debian | stretch | linux | Advisory build | 4.9.303-1 | DLA-2940-1 |
| Debian | stretch | linux-4.19 | Advisory build | 4.19.232-1~deb9u1 | DLA-2941-1 |
| Oracle Linux | 6 | kernel-uekx86_64 | Advisory build | 0:4.1.12-124.62.3.el6uek | ELSA-2022-9348 |
| Oracle Linux | 6 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-124.62.3.el6uek | ELSA-2022-9348 |
| Oracle Linux | 6 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-124.62.3.el6uek | ELSA-2022-9348 |
| Oracle Linux | 6 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-124.62.3.el6uek | ELSA-2022-9348 |
| Oracle Linux | 6 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-124.62.3.el6uek | ELSA-2022-9348 |
| Oracle Linux | 6 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-124.62.3.el6uek | ELSA-2022-9348 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.1.12-124.62.3.el7uek | ELSA-2022-9348 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:4.14.35-2047.512.6.el7 | ELSA-2022-9314 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-124.62.3.el7uek | ELSA-2022-9348 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-124.62.3.el7uek | ELSA-2022-9348 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-124.62.3.el7uek | ELSA-2022-9348 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-124.62.3.el7uek | ELSA-2022-9348 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-124.62.3.el7uek | ELSA-2022-9348 |
| Oracle Linux | 7 | kernel-uek-headersaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | kernel-uek-tools-libs-develaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:4.14.35-2047.512.6.el7uek | ELSA-2022-9313 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | kernel | affects kernel v3.6 and later through v5.15.5. (affected) | redhat · cna |
Weaknesses
1- CWE-459
References
8- https://bugzilla.redhat.com/show_bug.cgi?id=2025726
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=13e4ad2ce8df6e058ef482a31fdd81c725b0f7ea
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a4a118f2eead1d6c49e00765de89878288d4b890
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2940-1] linux security update https://lists.debian.org/debian-lts-announce/2022/03/msg00011.html
- [debian-lts-announce] 20220309 [SECURITY] [DLA 2941-1] linux-4.19 security update https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- DSA-5096 https://www.debian.org/security/2022/dsa-5096
- https://www.openwall.com/lists/oss-security/2021/11/25/1
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8aa900687c23acd544f28bbfa0b55378ae499168012e36dc0109ac96cccfbd8c
- Ingested
- 23 Sep 2026, 07:57:18 UTC
- Source record
- Official CVE record