NULL pointer dereference in Linux kernel - CVE-2021-4095
Published: January 20, 2022
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error within the Linux kernel's KVM when dirty ring logging is enabled without an active vCPU context in kvm_dirty_ring_get() function in virt/kvm/dirty_ring.c. A local user can pass specially crafted input to the KVM_XEN_HVM_SET_ATTR IOCTL and perform a denial of service (DoS) attack.
Affected software
Fedora
kernel
kernel-headers
kernel-tools
How to mitigate CVE-2021-4095
kernel-headers - addressed in versions 5.17.4-100.fc34, 5.17.4-200.fc35
kernel-tools - addressed in versions 5.17.4-100.fc34, 5.17.4-200.fc35