{"id":"CVE-2022-49883","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:\n\nKVM: x86: smm: number of GPRs in the SMRAM image depends on the image format\n\nOn 64 bit host, if the guest doesn't have X86_FEATURE_LM, KVM will\naccess 16 gprs to 32-bit smram image, causing out-ouf-bound ram\naccess.\n\nOn 32 bit host, the rsm_load_state_64/enter_smm_save_state_64\nis compiled out, thus access overflow can't happen.","modified":"2026-03-20T12:22:29.880202Z","published":"2025-05-01T14:10:29.804Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49883.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/696db303e54f7352623d9f640e6c51d8fa9d5588"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a7ebfbea0f52550d7cdf12c38f3f5eaa7b2b6494"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49883.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49883"},{"type":"PACKAGE","url":"https://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"},{"fixed":"696db303e54f7352623d9f640e6c51d8fa9d5588"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49883.json"}}],"schema_version":"1.7.5"}