CVE-2021-4095 Null dereference in kernel
An unprivileged local attacker can cause a kernel denial of service via a NULL pointer dereference in KVM when dirty ring logging is enabled.
- 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-4095?
CVE-2021-4095 is a medium-severity vulnerability in Fedoraproject Fedora, published on 8 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A NULL pointer dereference was found in the Linux kernel's KVM when dirty ring logging is enabled without an active vCPU context. An unprivileged local attacker on the host may use this flaw to cause a kernel oops condition and thus a denial of service by issuing a KVM_XEN_HVM_SET_ATTR ioctl. This flaw affects Linux kernel versions prior to 5.17-rc1.
Weakness: CWE-476
Which versions are affected by CVE-2021-4095?
It affects 2 products.
Products include Fedoraproject Fedora, Linux kernel.
How do I fix CVE-2021-4095?
Upgrade to a fixed version.
Is CVE-2021-4095 being exploited?
There is no known exploitation of CVE-2021-4095 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-8965, DEBIAN-CVE-2021-4095, GHSA-p8x3-xpch-p28r, ROOT-OS-UBUNTU-2204-CVE-2021-4095, UBUNTU-CVE-2021-4095.