Files
vuln-cve/data/2021/47xxx/CVE-2021-47296.json
T

275 lines
13 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2021-47296",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-05-21T13:27:52.130Z",
"datePublished": "2024-05-21T14:35:19.341Z",
"dateUpdated": "2026-08-05T08:47:08.193Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:47:08.193Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak\n\nvcpu_put is not called if the user copy fails. This can result in preempt\nnotifier corruption and crashes, among other issues."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - Triggered via local host ioctls on a KVM vCPU fd (/dev/kvm → KVM_CREATE_VM → KVM_CREATE_VCPU → KVM_ENABLE_CAP/KVM_DIRTY_TLB), not via network packets or unaided guest execution.\nAC:L - The attacker reliably forces the bug by passing an invalid userspace pointer so copy_from_user fails after vcpu_load; no race or attacker-independent condition is required.\nPR:L - The ioctl path has no capable() check; access needs only /dev/kvm permissions (kvm group or equivalent device access), which is unprivileged rather than init-namespace root.\nUI:N - The attacker triggers the leak directly with their own KVM ioctls; no separate victim action is required.\nS:U - This is host userspace (VMM) corrupting host kernel state via the KVM ioctl interface, not a guest-to-host escape across a VM security boundary.\nC:H - Leaked preempt_notifier remains linked after vcpu free (kvm_destroy_vcpus), yielding a use-after-free of the vcpu object whose sprayed contents can disclose kernel memory when sched_in/out runs.\nI:H - UAF of the embedded preempt_notifier (including the ops pointer) and double-register hlist corruption enable heap corruption and control-flow hijack when notifier callbacks fire.\nA:H - Double preempt_notifier_register creates a self-referential hlist that infinite-loops in the scheduler, and the UAF/corruption paths cause kernel oops, hang, or panic."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"arch/powerpc/kvm/powerpc.c"
],
"versions": [
{
"version": "b3cebfe8c1cadf1817939dcc3688a2504a69c662",
"lessThan": "9bafc34dc4ad0cef18727c557f21ed3c3304df50",
"status": "affected",
"versionType": "git"
},
{
"version": "b3cebfe8c1cadf1817939dcc3688a2504a69c662",
"lessThan": "f38527f1890543cdfca8dfd06f75f9887cce6151",
"status": "affected",
"versionType": "git"
},
{
"version": "b3cebfe8c1cadf1817939dcc3688a2504a69c662",
"lessThan": "e14ef1095387f764d95614d3ec9e4d07c82a3533",
"status": "affected",
"versionType": "git"
},
{
"version": "b3cebfe8c1cadf1817939dcc3688a2504a69c662",
"lessThan": "a4a488915feaad38345cc01b80d52e8200ff5209",
"status": "affected",
"versionType": "git"
},
{
"version": "b3cebfe8c1cadf1817939dcc3688a2504a69c662",
"lessThan": "bc4188a2f56e821ea057aca6bf444e138d06c252",
"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/powerpc/kvm/powerpc.c"
],
"versions": [
{
"version": "4.18",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.18",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.199",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.136",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.54",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.13.6",
"lessThanOrEqual": "5.13.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.14",
"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": "4.18",
"versionEndExcluding": "4.19.199"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.18",
"versionEndExcluding": "5.4.136"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.18",
"versionEndExcluding": "5.10.54"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.18",
"versionEndExcluding": "5.13.6"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.18",
"versionEndExcluding": "5.14"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/9bafc34dc4ad0cef18727c557f21ed3c3304df50"
},
{
"url": "https://git.kernel.org/stable/c/f38527f1890543cdfca8dfd06f75f9887cce6151"
},
{
"url": "https://git.kernel.org/stable/c/e14ef1095387f764d95614d3ec9e4d07c82a3533"
},
{
"url": "https://git.kernel.org/stable/c/a4a488915feaad38345cc01b80d52e8200ff5209"
},
{
"url": "https://git.kernel.org/stable/c/bc4188a2f56e821ea057aca6bf444e138d06c252"
}
],
"title": "KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2021-47296",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-05-28T19:22:38.048038Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-06-04T17:14:24.621Z"
}
},
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T05:32:08.371Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/9bafc34dc4ad0cef18727c557f21ed3c3304df50",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/f38527f1890543cdfca8dfd06f75f9887cce6151",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/e14ef1095387f764d95614d3ec9e4d07c82a3533",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/a4a488915feaad38345cc01b80d52e8200ff5209",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/bc4188a2f56e821ea057aca6bf444e138d06c252",
"tags": [
"x_transferred"
]
}
]
}
]
}
}