Bug 2363446 (CVE-2022-49883) - CVE-2022-49883 kernel: KVM: x86: smm: number of GPRs in the SMRAM image depends on the image format
Summary: CVE-2022-49883 kernel: KVM: x86: smm: number of GPRs in the SMRAM image depen...
Keywords:
Status: NEW
Alias: CVE-2022-49883
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 15:04 UTC by OSIDB Bzimport
Modified: 2025-06-06 02:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:04:57 UTC
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.

Comment 1 Avinash Hanwate 2025-05-02 03:36:46 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050155-CVE-2022-49883-ba54@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.