CVE-2021-4095
publishedkernel: KVM: NULL pointer dereference in kvm_dirty_ring_get() in virt/kvm/dirty_ring.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | kernelLinux kernel versions prior to 5.17-rc1 | Affected | Not stated | redhat |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-0.30.19.el8 | ELSA-2022-9534 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-0.30.19.el8 | ELSA-2022-9534 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
Show 19 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-0.30.19.el8uek | ELSA-2022-9533 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | kernel | Linux kernel versions prior to 5.17-rc1 (affected) | redhat · cna |
Weaknesses
1- CWE-476
References
4- [oss-security] 20220117 Re: CVE-2021-4095: kernel: KVM: NULL pointer dereference in kvm_dirty_ring_get() in virt/kvm/dirty_ring.c http://www.openwall.com/lists/oss-security/2022/01/17/1
- https://bugzilla.redhat.com/show_bug.cgi?id=2031194
- FEDORA-2022-0816754490 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIOQN7JJNN6ABIDGRSTVZA65MHRLMH2Q/
- FEDORA-2022-8efcea6e67 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT6573CGKVK3DU2632VVO5BVM4IU7SBV/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 215dbcedeafaa8996b4452cf6a0997959b18cb6fc0c554e6b66ffda80cdd5ae0
- Ingested
- 23 Sep 2026, 07:57:18 UTC
- Source record
- Official CVE record