All reports
Medium

kernel: KVM: x86: smm: number of GPRs in the SMRAM image depends on the image format

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49883

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: smm: number of GPRs in the SMRAM image depends on the image format On 64 bit host, if the guest doesn't have X86_FEATURE_LM, KVM will access 16 gprs to 32-bit smram image, causing out-ouf-bound ram access. On 32 bit host, the rsm_load_state_64/enter_smm_save_state_64 is compiled out, thus access overflow can't happen.

A flaw was found in the Linux kernel's KVM (Kernel-based Virtual Machine) subsystem. When a 64-bit host runs a 32-bit guest virtual machine lacking 64-bit long mode support, the System Management Mode (SMM) save and restore emulation accesses an incorrect number of general-purpose registers in the SMM memory image. A privileged user within the guest can exploit this flaw to trigger out-of-bounds memory access, resulting in a Denial of Service (DoS) via a host kernel crash.