CVE-2022-49883

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

State
Published
Severity
7.1 High
Published
May 1, 2025
Updated
Oct 15, 2026
Reserved
May 1, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b443183a25ab61840a12de92f8822849e017b9c8 to before a7ebfbea0f52550d7cdf12c38f3f5eaa7b2b6494Affected
  • b443183a25ab61840a12de92f8822849e017b9c8 to before 696db303e54f7352623d9f640e6c51d8fa9d5588Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.0.8 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.