Out-of-bounds Read in Linux

CVE-2022-49883

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 8.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions b443183a25ab61840a12de92f8822849e017b9c8, 6.0, 0
  • Linux Kernel — versions 6.1

Weakness classification (CWE)

References