CVE-2022-49883

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49883
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49883.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49883
Downstream
Published
2025-05-01T14:10:29Z
Modified
2025-10-16T01:18:58.002017Z
Summary
KVM: x86: smm: number of GPRs in the SMRAM image depends on the image format
Details

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 X86FEATURELM, KVM will access 16 gprs to 32-bit smram image, causing out-ouf-bound ram access.

On 32 bit host, the rsmloadstate64/entersmmsavestate_64 is compiled out, thus access overflow can't happen.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b443183a25ab61840a12de92f8822849e017b9c8
Fixed
a7ebfbea0f52550d7cdf12c38f3f5eaa7b2b6494
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b443183a25ab61840a12de92f8822849e017b9c8
Fixed
696db303e54f7352623d9f640e6c51d8fa9d5588

Affected versions

v5.*

v5.19
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8

v6.*

v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.0.1
v6.0.2
v6.0.3
v6.0.4
v6.0.5
v6.0.6
v6.0.7
v6.1-rc1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.0.8