CVE-2021-4002 Information disclosure in kernel
A local attacker can exploit a memory leak in hugetlbfs to gain unauthorized access to sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-4002?
CVE-2021-4002 is a medium-severity vulnerability in Debian Debian Linux, published on 3 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.
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.
Which versions are affected by CVE-2021-4002?
It affects 6 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel, Oracle Communications Cloud Native Core Binding Support Function, Oracle Communications Cloud Native Core Network Exposure Function, Oracle Communications Cloud Native Core Policy.
How do I fix CVE-2021-4002?
Apply the vendor's patch.
Is CVE-2021-4002 being exploited?
There is no known exploitation of CVE-2021-4002 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-8995, DEBIAN-CVE-2021-4002, GHSA-7jmv-5cqq-75jg, UBUNTU-CVE-2021-4002, USN-5206-1, USN-5211-1.