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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.38% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 32.5% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-03-08 14:05Z4 YR AGO
- Last updated
- 2024-08-03 17:16Z2 YR AGO
- Reserved
- 2021-12-10
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-476NULL Pointer DereferenceBase
- Data version
- 5.1
- Document digest
- ba026fedb1675ca499af8880b441adb97caa06b70a00831b251d16d8c69a9a51
05 Affected products
06 References
- www.openwall.com[oss-security] 20220117 Re: CVE-2021-4095: kernel: KVM: NULL pointer dereference in kvm_dirty_ring_get() in virt/kvm/dirty_ring.chttp://www.openwall.com/lists/oss-security/2022/01/17/1
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2031194
- lists.fedoraproject.orgFEDORA-2022-0816754490https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIOQN7JJNN6ABIDGRSTVZA65MHRLMH2Q/
- lists.fedoraproject.orgFEDORA-2022-8efcea6e67https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT6573CGKVK3DU2632VVO5BVM4IU7SBV/
07 Fixed in
Arch Linux
- linux No fix yet
- linux-hardened No fix yet
- linux-lts Fixed in 5.15.2-1
- linux-zen No fix yet
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- linux Fixed in 5.17.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 5.17.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 5.17.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux-hwe-edge No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-azure No fix yet
- linux-azure-5.3 No fix yet
- linux-azure-edge No fix yet
- linux-gcp No fix yet
- linux-gcp-5.3 No fix yet
- linux-gke-4.15 No fix yet
- linux-hwe No fix yet
- linux-oem No fix yet
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux-aws-5.13 No fix yet
- linux-aws-5.8 No fix yet
- linux-azure-5.13 No fix yet
- linux-azure-5.8 No fix yet
- linux-gcp-5.13 No fix yet
- linux-gcp-5.8 No fix yet
- linux-gke-5.15 No fix yet
- linux-gkeop-5.15 No fix yet
- linux-hwe-5.11 No fix yet
- linux-hwe-5.13 No fix yet
- linux-hwe-5.8 No fix yet
- linux-intel-5.13 No fix yet
- linux-oem-5.13 No fix yet
- linux-oem-5.14 No fix yet
- linux-oem-5.6 No fix yet
- linux-oracle-5.13 No fix yet
- linux-oracle-5.8 No fix yet
- linux-raspi2 No fix yet
- linux-riscv No fix yet
- linux-riscv-5.8 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux No fix yet
- linux-aws No fix yet
- linux-azure No fix yet
- linux-azure-fde No fix yet
- linux-gcp No fix yet
- linux-gke No fix yet
- linux-gkeop No fix yet
- linux-ibm No fix yet
- linux-intel-iot-realtime No fix yet
- linux-intel-iotg No fix yet
- linux-kvm No fix yet
- linux-lowlatency No fix yet
- linux-nvidia No fix yet
- linux-nvidia-tegra No fix yet
- linux-nvidia-tegra-igx No fix yet
- linux-oracle No fix yet
- linux-raspi No fix yet
- linux-realtime No fix yet
- linux-riscv No fix yet
- linux-xilinx-zynqmp No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux-raspi-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Nvidia-BlueField 22.04 LTS
- linux-bluefield No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- linux-aws-5.15 No fix yet
- linux-azure-5.15 No fix yet
- linux-azure-fde-5.15 No fix yet
- linux-gcp-5.15 No fix yet
- linux-hwe-5.15 No fix yet
- linux-ibm-5.15 No fix yet
- linux-intel-iotg-5.15 No fix yet
- linux-lowlatency-hwe-5.15 No fix yet
- linux-nvidia-tegra-5.15 No fix yet
- linux-oracle-5.15 No fix yet
- linux-riscv-5.15 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-preview 22.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-updates 22.04 LTS
- linux-aws-fips No fix yet
- linux-azure-fips No fix yet
- linux-fips No fix yet
- linux-gcp-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro Realtime 22.04 LTS
- linux-intel-iot-realtime No fix yet
- linux-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.