NULL pointer dereference in Linux Kernel
CVE-2021-4095
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 33.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Fedoraproject Fedora — versions 34, 35
- Kernel — versions Linux kernel versions prior to 5.17-rc1
Weakness classification (CWE)
References
- [oss-security] 20220117 Re: CVE-2021-4095: kernel: KVM: NULL pointer dereference in kvm_dirty_ring_get() in virt/kvm/dirty_ring.c (mailing-list, Exploit, Patch, Mailing List, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Exploit, Patch, Third Party Advisory, Issue Tracking)
- FEDORA-2022-0816754490 (vendor-advisory)
- FEDORA-2022-8efcea6e67 (vendor-advisory)