172 lines
8.4 KiB
JSON
172 lines
8.4 KiB
JSON
{
|
||
"dataType": "CVE_RECORD",
|
||
"dataVersion": "5.2",
|
||
"cveMetadata": {
|
||
"cveId": "CVE-2022-49883",
|
||
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
||
"state": "PUBLISHED",
|
||
"assignerShortName": "Linux",
|
||
"dateReserved": "2025-05-01T14:05:17.241Z",
|
||
"datePublished": "2025-05-01T14:10:29.804Z",
|
||
"dateUpdated": "2026-10-15T21:31:17.152Z"
|
||
},
|
||
"containers": {
|
||
"cna": {
|
||
"providerMetadata": {
|
||
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
||
"shortName": "Linux",
|
||
"dateUpdated": "2026-08-05T08:56:31.933Z"
|
||
},
|
||
"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'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."
|
||
}
|
||
],
|
||
"metrics": [
|
||
{
|
||
"cvssV3_1": {
|
||
"version": "3.1",
|
||
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
|
||
"baseScore": 7.1,
|
||
"baseSeverity": "HIGH"
|
||
},
|
||
"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()'s stack buf[512] (GET_SMSTATE offsets for GPRs 12–15) and writeback stores that host stack data into vCPU R12–R15, 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."
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"affected": [
|
||
{
|
||
"product": "Linux",
|
||
"vendor": "Linux",
|
||
"defaultStatus": "unaffected",
|
||
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
||
"programFiles": [
|
||
"arch/x86/kvm/emulate.c"
|
||
],
|
||
"versions": [
|
||
{
|
||
"version": "b443183a25ab61840a12de92f8822849e017b9c8",
|
||
"lessThan": "a7ebfbea0f52550d7cdf12c38f3f5eaa7b2b6494",
|
||
"status": "affected",
|
||
"versionType": "git"
|
||
},
|
||
{
|
||
"version": "b443183a25ab61840a12de92f8822849e017b9c8",
|
||
"lessThan": "696db303e54f7352623d9f640e6c51d8fa9d5588",
|
||
"status": "affected",
|
||
"versionType": "git"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"product": "Linux",
|
||
"vendor": "Linux",
|
||
"defaultStatus": "affected",
|
||
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
||
"programFiles": [
|
||
"arch/x86/kvm/emulate.c"
|
||
],
|
||
"versions": [
|
||
{
|
||
"version": "6.0",
|
||
"status": "affected"
|
||
},
|
||
{
|
||
"version": "0",
|
||
"lessThan": "6.0",
|
||
"status": "unaffected",
|
||
"versionType": "semver"
|
||
},
|
||
{
|
||
"version": "6.0.8",
|
||
"lessThanOrEqual": "6.0.*",
|
||
"status": "unaffected",
|
||
"versionType": "semver"
|
||
},
|
||
{
|
||
"version": "6.1",
|
||
"lessThanOrEqual": "*",
|
||
"status": "unaffected",
|
||
"versionType": "original_commit_for_fix"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"cpeApplicability": [
|
||
{
|
||
"nodes": [
|
||
{
|
||
"operator": "OR",
|
||
"negate": false,
|
||
"cpeMatch": [
|
||
{
|
||
"vulnerable": true,
|
||
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
||
"versionStartIncluding": "6.0",
|
||
"versionEndExcluding": "6.0.8"
|
||
},
|
||
{
|
||
"vulnerable": true,
|
||
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
||
"versionStartIncluding": "6.0",
|
||
"versionEndExcluding": "6.1"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"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"
|
||
}
|
||
},
|
||
"adp": [
|
||
{
|
||
"metrics": [
|
||
{
|
||
"other": {
|
||
"type": "ssvc",
|
||
"content": {
|
||
"id": "CVE-2022-49883",
|
||
"role": "CISA Coordinator",
|
||
"options": [
|
||
{
|
||
"Exploitation": "none"
|
||
},
|
||
{
|
||
"Automatable": "no"
|
||
},
|
||
{
|
||
"Technical Impact": "partial"
|
||
}
|
||
],
|
||
"version": "2.0.3",
|
||
"timestamp": "2026-10-15T21:29:37.620177Z"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"title": "CISA ADP Vulnrichment",
|
||
"providerMetadata": {
|
||
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
||
"shortName": "CISA-ADP",
|
||
"dateUpdated": "2026-10-15T21:31:17.152Z"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
} |