---
id: CVE-2022-49883
title: |-
  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-bi…
summary: |-
  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-bi…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.0, < 6.0.8'
  - linux_kernel = 6.1
patched:
  - linux_kernel 6.0.8
published: '2025-05-01'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:17:25.527'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-49883'
references:
  - url: 'https://git.kernel.org/stable/c/696db303e54f7352623d9f640e6c51d8fa9d5588'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a7ebfbea0f52550d7cdf12c38f3f5eaa7b2b6494'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00186
epssPercentile: 0.0812
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T21:29:37.620177Z'
ingestedAt: '2026-10-15T21:45:11.286Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 6.0, < 6.0.8`
- `linux_kernel = 6.1`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.0.8`
