CVE-2022-49883 (GCVE-0-2022-49883)
Vulnerability from cvelistv5
Published
2025-05-01 14:10
Modified
2026-10-15 21:31
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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.
References
Impacted products
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2022-49883",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-15T21:29:37.620177Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T21:31:17.152Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"arch/x86/kvm/emulate.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "a7ebfbea0f52550d7cdf12c38f3f5eaa7b2b6494",
"status": "affected",
"version": "b443183a25ab61840a12de92f8822849e017b9c8",
"versionType": "git"
},
{
"lessThan": "696db303e54f7352623d9f640e6c51d8fa9d5588",
"status": "affected",
"version": "b443183a25ab61840a12de92f8822849e017b9c8",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"arch/x86/kvm/emulate.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.0"
},
{
"lessThan": "6.0",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"version": "6.0.8",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.8",
"versionStartIncluding": "6.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1",
"versionStartIncluding": "6.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027t 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\u0027t happen."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - Exploitation requires local access to KVM (/dev/kvm ioctls) to create a non-LM guest with SMM, inject SMI, and execute RSM; it is not reachable via network packets.\nAC:L - An attacker who can use KVM fully controls CPUID (clearing X86_FEATURE_LM), SMM enablement, SMI injection, and RSM execution, so the OOB path is reliably triggerable with no race or uncontrolled condition.\nPR:L - Creating and running a KVM VM needs only access to /dev/kvm (kvm group or world-accessible on some distros), not real host root/CAP_SYS_ADMIN in the init namespace.\nUI:N - No separate victim action is required; the attacker drives the VM, injects SMI, and executes RSM themselves.\nS:U - The reliable impact is host-kernel stack disclosure into vCPU GPRs recovered via KVM_GET_REGS by host userspace, remaining within the same host OS security authority rather than a guest-observable VM escape.\nC:H - rsm_load_state_32() reads 16 bytes past em_rsm()\u0027s stack buf[512] (GET_SMSTATE offsets for GPRs 12\u201315) and writeback stores that host stack data into vCPU R12\u2013R15, which KVM_GET_REGS exposes (pointers/canaries possible).\nI:N - The bug is an out-of-bounds read only; corrupted values are written into in-bounds emulator/vCPU register slots, with no host memory write or control-flow hijack primitive.\nA:H - The out-of-bounds host stack access can fault into unmapped memory and oops/panic the host kernel, so availability impact is scored High."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T08:56:31.933Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/a7ebfbea0f52550d7cdf12c38f3f5eaa7b2b6494"
},
{
"url": "https://git.kernel.org/stable/c/696db303e54f7352623d9f640e6c51d8fa9d5588"
}
],
"title": "KVM: x86: smm: number of GPRs in the SMRAM image depends on the image format",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-49883",
"datePublished": "2025-05-01T14:10:29.804Z",
"dateReserved": "2025-05-01T14:05:17.241Z",
"dateUpdated": "2026-10-15T21:31:17.152Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…