Vulnerability · Published Mar 3, 2022 · Assigned by redhat

CVE-2021-4002

Medium 4.4

In plain English

A medium-severity security flaw in kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)4.4Medium
Exploit odds (30 days)0.5%top 55.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bpftool4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-abi-stablelists4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-core4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-cross-headers4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug-core4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug-devel4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug-modules4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-debug-modules-extra4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-devel4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-doc4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-headers4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-modules4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-modules-extra4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-tools4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-tools-libs4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8kernel-tools-libs-devel4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8perf4.18.0-372.9.1.el8ALSA-2022:1988
AlmaLinux:8python3-perf4.18.0-372.9.1.el8ALSA-2022:1988
Debian:12linux5.15.5-1DEBIAN-CVE-2021-4002
Debian:13linux5.15.5-1DEBIAN-CVE-2021-4002
Debian:14linux5.15.5-1DEBIAN-CVE-2021-4002
Rocky Linux:8kernel0:4.18.0-372.9.1.el8RLSA-2022:1988
Rocky Linux:8kernel-rt0:4.18.0-372.9.1.rt7.166.el8RLSA-2022:1975
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2021-4002
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2021-4002
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2021-4002

Affected products (as reported)

VendorProductVersions
n/a kernel affects kernel v3.6 and later through v5.15.5.

Weakness: CWE-459

References