CVE-2022-2196

Speculative execution attacks in KVM VMX

5.8 medium EPSS 0.40%

Published 9 Jan 2023 Updated 7 Aug 2026 CNA: Google

Check your servers for CVE-2022-2196

The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-2196 affects kvm, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

A regression exists in the Linux Kernel within KVM: nVMX that allowed for speculative execution attacks. L2 can carry out Spectre v2 attacks on L1 due to L1 thinking it doesn't need retpolines or IBPB after running L2 due to KVM (L0) advertising eIBRS support to L1. An attacker at L2 with code execution can execute code on an indirect branch on the host machine. We recommend upgrading to Kernel 6.2 or applying the relevant stable backports (v5.4.233, v5.10.170, v5.15.96, v6.1.14).

Severity (CVSS)

5.8 medium CVSS 3.1 from Google (CNA)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.5% of all scored CVEs. Scores of 27 Nov 2026.

The assessment of CISA (SSVC, 1 Aug 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-1188 Initialization of a Resource with an Insecure Default

Affected products

As the CNA lists them.

ProductVersions
Linux Kernel
package KVM
affected from 64b8f33b2e1e687d465b5cb382e7bec495f1e026, before f93a1a5bdcdd122aae0a3eab7a52c15b71fb725b
affected from e089a83fbc55b8057f332c00f125acaa02b08ef7, before 2e7eab81425ad6c875f2ed47c0ce01e78afc38a5
affected from 02a3868d18fe639363f1cea6e6d7914513198e43, before 2e7eab81425ad6c875f2ed47c0ce01e78afc38a5
affected from 5c911beff20aa8639e7a1f28988736c13e03ed54, before 1b0cafaae8884726c597caded50af185ffc13349
affected from 5c911beff20aa8639e7a1f28988736c13e03ed54, before 6b539a7dbb49250f92515c2ba60aea239efc9e35
affected from 5c911beff20aa8639e7a1f28988736c13e03ed54, before 63fada296062e91ad9f871970d4e7f19e21a6a15
affected from 5c911beff20aa8639e7a1f28988736c13e03ed54, before 2e7eab81425ad6c875f2ed47c0ce01e78afc38a5
affected from 5.4.47, before 5.4.233
affected from 5.6.19, before 5.7.0
affected from 5.7.3, before 5.8.0
affected from 5.8.0, before 5.10.170
affected from 5.11.0, before 5.15.96
affected from 5.16.0, before 6.1.14
unaffected 6.2.0
Other versions: unaffected

Is my server affected?

Find the installed version of kvm and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i kvm
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2022-2196 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2022-2196

RHEL, Rocky, Alma, Fedora

rpm -q kvm
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2022-2196

Alpine

apk list --installed | grep -i kvm

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-2196
trivy image --scanners vuln IMAGE | grep CVE-2022-2196

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the agent.

References

Other references

Source: the record CVE-2022-2196 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.