CVE-2021-3501 Memory corruption in kernel
A local attacker can trigger an out-of-bounds write in the Linux kernel KVM API, compromising data integrity and system availability.
- 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-3501?
CVE-2021-3501 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 5 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in the Linux kernel in versions before 5.12. The value of internal.ndata, in the KVM API, is mapped to an array index, which can be updated by a user process at anytime which could lead to an out-of-bounds write. The highest threat from this vulnerability is to data integrity and system availability.
Weakness: CWE-787
Which versions are affected by CVE-2021-3501?
It affects 19 products.
Linux distribution packages (3)
kpatch-patch-4_18_0-305 Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8 |
kpatch-patch-4_18_0-305-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8 |
kpatch-patch-4_18_0-305-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1-1.el8 |
Products include Fedoraproject Fedora, Linux kernel, Netapp Cloud Backup, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware and 13 more.
How do I fix CVE-2021-3501?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-3501 being exploited?
There is no known exploitation of CVE-2021-3501 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-6569, DEBIAN-CVE-2021-3501, GHSA-hvwc-6fg8-r6p5, RHSA-2021:2165, UBUNTU-CVE-2021-3501.