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

194 lines
9.4 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2021-47446",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-05-21T14:58:30.832Z",
"datePublished": "2024-05-22T06:19:38.839Z",
"dateUpdated": "2026-08-05T08:47:49.798Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T08:47:49.798Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/a4xx: fix error handling in a4xx_gpu_init()\n\nThis code returns 1 on error instead of a negative error. It leads to\nan Oops in the caller. A second problem is that the check for\n\"if (ret != -ENODATA)\" cannot be true because \"ret\" is set to 1."
}
],
"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 - The bug is in drm/msm a4xx_gpu_init() during Adreno component bind, with the dangling GPU then used from local DRM open (msm_open→adreno_load_gpu) or the GPU IRQ handler—local device/ioctl paths only, not network or adjacent protocols.\nAC:L - On A4xx platforms with interconnects naming only gfx-mem (ocmem optional/-ENODATA), the buggy IS_ERR→ret=1 path runs deterministically at probe, frees the GPU, and falsely succeeds bind; a later DRM open or IRQ then uses the freed object with no race or layout outside attacker influence.\nPR:L - After the broken probe leaves a dangling GPU drvdata/IRQ cookie, an unprivileged local user or Android app that can open the MSM DRM/render node triggers adreno_load_gpu() on the freed object without real root or init-namespace admin rights.\nUI:N - The attacker opens the DRM device and drives the load path themselves; no separate victim action such as mounting media or opening a crafted file is required.\nS:U - Impact is a host-kernel UAF/oops within the same kernel authority; it is not a VM escape, IOMMU bypass, or other cross-boundary compromise.\nC:H - The fail path kfree's the msm_gpu while platform drvdata and the IRQ handler still reference it, a use-after-free that per guidance enables reclaim/spray of the object and arbitrary kernel read primitives.\nI:H - Use of the freed gpu (including irq_handler calling gpu->funcs->irq and load/pm paths through dangling function pointers) is a classic UAF control-flow hijack primitive, scored Integrity High under kernel UAF guidance.\nA:H - Dereferencing ERR_PTR(1) as a gpu or using the freed msm_gpu causes a kernel oops/panic, which is full availability impact."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/msm/adreno/a4xx_gpu.c"
],
"versions": [
{
"version": "5785dd7a8ef0de8049f40a1a109de6a1bf17b479",
"lessThan": "3962d626eb3e3b23ebb2e2a61537fa764acbfe11",
"status": "affected",
"versionType": "git"
},
{
"version": "5785dd7a8ef0de8049f40a1a109de6a1bf17b479",
"lessThan": "980d74e7d03ccf2eaa11d133416946bd880c7c08",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/gpu/drm/msm/adreno/a4xx_gpu.c"
],
"versions": [
{
"version": "5.11",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.11",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.14.14",
"lessThanOrEqual": "5.14.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15",
"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": "5.11",
"versionEndExcluding": "5.14.14"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.11",
"versionEndExcluding": "5.15"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/3962d626eb3e3b23ebb2e2a61537fa764acbfe11"
},
{
"url": "https://git.kernel.org/stable/c/980d74e7d03ccf2eaa11d133416946bd880c7c08"
}
],
"title": "drm/msm/a4xx: fix error handling in a4xx_gpu_init()",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2024-06-10T18:56:14.035808Z",
"id": "CVE-2021-47446",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-06-10T18:56:22.575Z"
}
},
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T05:39:59.012Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/3962d626eb3e3b23ebb2e2a61537fa764acbfe11",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/980d74e7d03ccf2eaa11d133416946bd880c7c08",
"tags": [
"x_transferred"
]
}
]
}
]
}
}