CVE-2021-4002
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.51% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 43.5% of scored records. A rank, not a probability.
- NVD base score
- 4.4 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-03-03 21:42Z4 YR AGO
- Last updated
- 2024-08-03 17:16Z2 YR AGO
- Reserved
- 2021-11-22
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- b904e84fce1619207fb02a3369dee17b4f23942572a016897e4d4a81eedd0126
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2025726
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2021/11/25/1
- git.kernel.orghttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=13e4ad2ce8df6e058ef482a31fdd81c725b0f7ea
- git.kernel.orghttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a4a118f2eead1d6c49e00765de89878288d4b890
- lists.debian.org[debian-lts-announce] 20220309 [SECURITY] [DLA 2940-1] linux security updatehttps://lists.debian.org/debian-lts-announce/2022/03/msg00011.html
- lists.debian.org[debian-lts-announce] 20220309 [SECURITY] [DLA 2941-1] linux-4.19 security updatehttps://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- www.debian.orgDSA-5096https://www.debian.org/security/2022/dsa-5096
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujul2022.html
07 Fixed in
AlmaLinux 8
- bpftool Fixed in 4.18.0-372.9.1.el8
- kernel Fixed in 4.18.0-372.9.1.el8
- kernel-abi-stablelists Fixed in 4.18.0-372.9.1.el8
- kernel-core Fixed in 4.18.0-372.9.1.el8
- kernel-cross-headers Fixed in 4.18.0-372.9.1.el8
- kernel-debug Fixed in 4.18.0-372.9.1.el8
- kernel-debug-core Fixed in 4.18.0-372.9.1.el8
- kernel-debug-devel Fixed in 4.18.0-372.9.1.el8
- kernel-debug-modules Fixed in 4.18.0-372.9.1.el8
- kernel-debug-modules-extra Fixed in 4.18.0-372.9.1.el8
- kernel-devel Fixed in 4.18.0-372.9.1.el8
- kernel-doc Fixed in 4.18.0-372.9.1.el8
- kernel-headers Fixed in 4.18.0-372.9.1.el8
- kernel-modules Fixed in 4.18.0-372.9.1.el8
- kernel-modules-extra Fixed in 4.18.0-372.9.1.el8
- kernel-tools Fixed in 4.18.0-372.9.1.el8
- kernel-tools-libs Fixed in 4.18.0-372.9.1.el8
- kernel-tools-libs-devel Fixed in 4.18.0-372.9.1.el8
- perf Fixed in 4.18.0-372.9.1.el8
- python3-perf Fixed in 4.18.0-372.9.1.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- linux Fixed in 5.15.5.arch1-1
- linux-hardened Fixed in 5.15.5.hardened1-1
- linux-lts Fixed in 5.10.82-1
- linux-zen Fixed in 5.15.5.zen1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- bpftool Fixed in 4.18.0-372.9.1.el8
- kernel Fixed in 4.18.0-372.9.1.el8
- kernel-abi-stablelists Fixed in 4.18.0-372.9.1.el8
- kernel-core Fixed in 4.18.0-372.9.1.el8
- kernel-cross-headers Fixed in 4.18.0-372.9.1.el8
- kernel-debug Fixed in 4.18.0-372.9.1.el8
- kernel-debug-core Fixed in 4.18.0-372.9.1.el8
- kernel-debug-devel Fixed in 4.18.0-372.9.1.el8
- kernel-debug-modules Fixed in 4.18.0-372.9.1.el8
- kernel-debug-modules-extra Fixed in 4.18.0-372.9.1.el8
- kernel-devel Fixed in 4.18.0-372.9.1.el8
- kernel-doc Fixed in 4.18.0-372.9.1.el8
- kernel-headers Fixed in 4.18.0-372.9.1.el8
- kernel-modules Fixed in 4.18.0-372.9.1.el8
- kernel-modules-extra Fixed in 4.18.0-372.9.1.el8
- kernel-tools Fixed in 4.18.0-372.9.1.el8
- kernel-tools-libs Fixed in 4.18.0-372.9.1.el8
- kernel-tools-libs-devel Fixed in 4.18.0-372.9.1.el8
- perf Fixed in 4.18.0-372.9.1.el8
- python3-perf Fixed in 4.18.0-372.9.1.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- linux Fixed in 5.15.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 5.15.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 5.15.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux-hwe-edge No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux Fixed in 4.15.0-166.174
- linux-aws Fixed in 4.15.0-1118.125
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-aws-5.4 Fixed in 5.4.0-1061.64~18.04.1
- linux-azure No fix yet
- linux-azure-4.15 Fixed in 4.15.0-1129.142
- linux-azure-5.3 No fix yet
- linux-azure-5.4 Fixed in 5.4.0-1065.68~18.04.1
- linux-azure-edge No fix yet
- linux-dell300x Fixed in 4.15.0-1033.38
- linux-gcp No fix yet
- linux-gcp-4.15 Fixed in 4.15.0-1114.128
- linux-gcp-5.3 No fix yet
- linux-gcp-5.4 Fixed in 5.4.0-1059.63~18.04.1
- linux-gke-4.15 No fix yet
- linux-gke-5.4 Fixed in 5.4.0-1057.60~18.04.1
- linux-gkeop-5.4 Fixed in 5.4.0-1029.30~18.04.2
- linux-hwe No fix yet
- linux-hwe-5.4 Fixed in 5.4.0-92.103~18.04.2
- linux-hwe-edge No fix yet
- linux-kvm Fixed in 4.15.0-1105.107
- linux-oem No fix yet
- linux-oracle Fixed in 4.15.0-1085.93
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
- linux-oracle-5.4 Fixed in 5.4.0-1059.63~18.04.1
- linux-raspi-5.4 Fixed in 5.4.0-1048.53~18.04.1
- linux-raspi2 Fixed in 4.15.0-1101.108
- linux-snapdragon Fixed in 4.15.0-1118.127
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux Fixed in 5.4.0-92.103
- linux-aws Fixed in 5.4.0-1061.64
- linux-aws-5.11 Fixed in 5.11.0-1023.24~20.04.1
- linux-aws-5.8 No fix yet
- linux-azure Fixed in 5.4.0-1065.68
- linux-azure-5.11 Fixed in 5.11.0-1023.24~20.04.1
- linux-azure-5.8 No fix yet
- linux-bluefield Fixed in 5.4.0-1023.26
- linux-gcp Fixed in 5.4.0-1059.63
- linux-gcp-5.11 Fixed in 5.11.0-1024.26~20.04.1
- linux-gcp-5.8 No fix yet
- linux-gke Fixed in 5.4.0-1057.60
- linux-gkeop Fixed in 5.4.0-1029.30
- linux-hwe-5.11 Fixed in 5.11.0-44.48~20.04.2
- linux-hwe-5.13 Fixed in 5.13.0-23.23~20.04.2
- linux-hwe-5.8 No fix yet
- linux-ibm Fixed in 5.4.0-1010.11
- linux-intel-5.13 No fix yet
- linux-kvm Fixed in 5.4.0-1051.53
- linux-oem-5.10 Fixed in 5.10.0-1053.55
- linux-oem-5.13 Fixed in 5.13.0-1026.32
- linux-oem-5.14 Fixed in 5.14.0-1013.13
- linux-oem-5.6 No fix yet
- linux-oracle Fixed in 5.4.0-1059.63
- linux-oracle-5.11 Fixed in 5.11.0-1023.24~20.04.1
- linux-oracle-5.8 No fix yet
- linux-raspi Fixed in 5.4.0-1048.53
- linux-raspi2 No fix yet
- linux-riscv No fix yet
- linux-riscv-5.11 Fixed in 5.11.0-1024.25~20.04.1
- linux-riscv-5.8 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux-intel-iot-realtime No fix yet
- linux-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux-raspi-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- linux Fixed in 3.13.0-189.240Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws Fixed in 4.4.0-1098.103Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1129.142~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-lts-xenial Fixed in 4.4.0-218.251~14.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- linux Fixed in 4.4.0-218.251Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws Fixed in 4.4.0-1134.148Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-aws-hwe Fixed in 4.15.0-1118.125~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-azure Fixed in 4.15.0-1129.142~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-gcp Fixed in 4.15.0-1114.128~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-hwe Fixed in 4.15.0-166.174~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-kvm Fixed in 4.4.0-1099.108Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- linux-oracle Fixed in 4.15.0-1085.93~16.04.1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 16.04 LTS
- linux-fips Fixed in 4.4.0-1068.74Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 18.04 LTS
- linux-aws-fips Fixed in 4.15.0-2059.61Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 4.15.0-2041.45Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 4.15.0-1075.84Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 4.15.0-2024.26Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 20.04 LTS
- linux-aws-fips Fixed in 5.4.0-1069.73+fips2Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-azure-fips Fixed in 5.4.0-1073.76+fips1Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-fips Fixed in 5.4.0-1038.44Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-gcp-fips Fixed in 5.4.0-1067.71~20.04.1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 16.04 LTS
- linux-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 18.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS 20.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.