KVM: x86: smm: number of GPRs in the SMRAM image depends on the image format
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
On a 64-bit host, KVM can access beyond a 32-bit SMRAM image when a guest lacks X86_FEATURE_LM. A guest can trigger the out-of-bounds access; the input does not specify further impact. The issue does not occur on 32-bit hosts.
Operators running Linux KVM on 64-bit hosts should check their kernel versions; affected versions are not specified.