CVE-2021-47535 (GCVE-0-2021-47535)
Vulnerability from cvelistv5 – Published: 2024-05-24 15:09 – Updated: 2026-08-05 08:48
VLAI
EPSS
VEX
Title
drm/msm/a6xx: Allocate enough space for GMU registers
Summary
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/a6xx: Allocate enough space for GMU registers
In commit 142639a52a01 ("drm/msm/a6xx: fix crashstate capture for
A650") we changed a6xx_get_gmu_registers() to read 3 sets of
registers. Unfortunately, we didn't change the memory allocation for
the array. That leads to a KASAN warning (this was on the chromeos-5.4
kernel, which has the problematic commit backported to it):
BUG: KASAN: slab-out-of-bounds in _a6xx_get_gmu_registers+0x144/0x430
Write of size 8 at addr ffffff80c89432b0 by task A618-worker/209
CPU: 5 PID: 209 Comm: A618-worker Tainted: G W 5.4.156-lockdep #22
Hardware name: Google Lazor Limozeen without Touchscreen (rev5 - rev8) (DT)
Call trace:
dump_backtrace+0x0/0x248
show_stack+0x20/0x2c
dump_stack+0x128/0x1ec
print_address_description+0x88/0x4a0
__kasan_report+0xfc/0x120
kasan_report+0x10/0x18
__asan_report_store8_noabort+0x1c/0x24
_a6xx_get_gmu_registers+0x144/0x430
a6xx_gpu_state_get+0x330/0x25d4
msm_gpu_crashstate_capture+0xa0/0x84c
recover_worker+0x328/0x838
kthread_worker_fn+0x32c/0x574
kthread+0x2dc/0x39c
ret_from_fork+0x10/0x18
Allocated by task 209:
__kasan_kmalloc+0xfc/0x1c4
kasan_kmalloc+0xc/0x14
kmem_cache_alloc_trace+0x1f0/0x2a0
a6xx_gpu_state_get+0x164/0x25d4
msm_gpu_crashstate_capture+0xa0/0x84c
recover_worker+0x328/0x838
kthread_worker_fn+0x32c/0x574
kthread+0x2dc/0x39c
ret_from_fork+0x10/0x18
Severity
7.8 (High)
6.2 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-06-17 17:34 UTC
CWE
- CWE-787 - Out-of-bounds Write
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
142639a52a01e90c512a9a8d2156997e02a65b53 , < d646856a600e8635ba498f20b194219b158626e8
(git)
Affected: 142639a52a01e90c512a9a8d2156997e02a65b53 , < 83e54fcf0b14ca2d869dd37abe1bb6542805f538 (git) Affected: 142639a52a01e90c512a9a8d2156997e02a65b53 , < b4d25abf9720b69a03465b09d0d62d1998ed6708 (git) |
guessed | |
| Linux | Linux |
Affected:
5.9
Unaffected: 0 , < 5.9 (semver) Unaffected: 5.10.84 , ≤ 5.10.* (semver) Unaffected: 5.15.7 , ≤ 5.15.* (semver) Unaffected: 5.16 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.2,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2021-47535",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-06-17T17:34:34.685290Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-787",
"description": "CWE-787 Out-of-bounds Write",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-12-04T18:09:25.843Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-04T05:39:59.827Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/d646856a600e8635ba498f20b194219b158626e8"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/83e54fcf0b14ca2d869dd37abe1bb6542805f538"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/b4d25abf9720b69a03465b09d0d62d1998ed6708"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "d646856a600e8635ba498f20b194219b158626e8",
"status": "affected",
"version": "142639a52a01e90c512a9a8d2156997e02a65b53",
"versionType": "git"
},
{
"lessThan": "83e54fcf0b14ca2d869dd37abe1bb6542805f538",
"status": "affected",
"version": "142639a52a01e90c512a9a8d2156997e02a65b53",
"versionType": "git"
},
{
"lessThan": "b4d25abf9720b69a03465b09d0d62d1998ed6708",
"status": "affected",
"version": "142639a52a01e90c512a9a8d2156997e02a65b53",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.9"
},
{
"lessThan": "5.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.84",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.7",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.16",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.84",
"versionStartIncluding": "5.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.7",
"versionStartIncluding": "5.9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.16",
"versionStartIncluding": "5.9",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/a6xx: Allocate enough space for GMU registers\n\nIn commit 142639a52a01 (\"drm/msm/a6xx: fix crashstate capture for\nA650\") we changed a6xx_get_gmu_registers() to read 3 sets of\nregisters. Unfortunately, we didn\u0027t change the memory allocation for\nthe array. That leads to a KASAN warning (this was on the chromeos-5.4\nkernel, which has the problematic commit backported to it):\n\n BUG: KASAN: slab-out-of-bounds in _a6xx_get_gmu_registers+0x144/0x430\n Write of size 8 at addr ffffff80c89432b0 by task A618-worker/209\n CPU: 5 PID: 209 Comm: A618-worker Tainted: G W 5.4.156-lockdep #22\n Hardware name: Google Lazor Limozeen without Touchscreen (rev5 - rev8) (DT)\n Call trace:\n dump_backtrace+0x0/0x248\n show_stack+0x20/0x2c\n dump_stack+0x128/0x1ec\n print_address_description+0x88/0x4a0\n __kasan_report+0xfc/0x120\n kasan_report+0x10/0x18\n __asan_report_store8_noabort+0x1c/0x24\n _a6xx_get_gmu_registers+0x144/0x430\n a6xx_gpu_state_get+0x330/0x25d4\n msm_gpu_crashstate_capture+0xa0/0x84c\n recover_worker+0x328/0x838\n kthread_worker_fn+0x32c/0x574\n kthread+0x2dc/0x39c\n ret_from_fork+0x10/0x18\n\n Allocated by task 209:\n __kasan_kmalloc+0xfc/0x1c4\n kasan_kmalloc+0xc/0x14\n kmem_cache_alloc_trace+0x1f0/0x2a0\n a6xx_gpu_state_get+0x164/0x25d4\n msm_gpu_crashstate_capture+0xa0/0x84c\n recover_worker+0x328/0x838\n kthread_worker_fn+0x32c/0x574\n kthread+0x2dc/0x39c\n ret_from_fork+0x10/0x18"
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The OOB write runs during GPU hang/fault crashstate capture reached via local MSM_GEM_SUBMIT on /dev/dri/renderD*; there is no network or adjacent-protocol path into a6xx_get_gmu_registers().\nAC:L - An attacker can reliably hang or fault the Adreno GPU with crafted submits, and DRM_MSM selects WANT_DEV_COREDUMP so crashstate capture (the vulnerable path) runs by default; the KASAN report confirms the OOB write is hit deterministically on recover_worker.\nPR:L - MSM_GEM_SUBMIT is DRM_RENDER_ALLOW with no root/CAP requirement; on msm/Adreno platforms (Android phones, ChromeOS) an unprivileged local user or app can open the render node and submit work.\nUI:N - The attacker submits hang-inducing or faulting GPU work themselves; no separate victim action is required.\nS:U - Impact is host-kernel slab corruption within the same OS security authority; this is not a VM escape, IOMMU bypass, or other cross-boundary compromise.\nC:H - The slab out-of-bounds write of a6xx_gpu_state_obj fields into adjacent heap memory is memory corruption that can be leveraged for information disclosure per OOB-write guidance.\nI:H - Writing handle/data pointers past a 2-element gmu_registers allocation is a heap out-of-bounds write, enabling adjacent-object corruption and control-flow hijacking primitives.\nA:H - The documented KASAN slab-out-of-bounds write during recover_worker can oops/panic the kernel, so availability impact is High even without full exploitation."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-05T08:48:16.665Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/d646856a600e8635ba498f20b194219b158626e8"
},
{
"url": "https://git.kernel.org/stable/c/83e54fcf0b14ca2d869dd37abe1bb6542805f538"
},
{
"url": "https://git.kernel.org/stable/c/b4d25abf9720b69a03465b09d0d62d1998ed6708"
}
],
"title": "drm/msm/a6xx: Allocate enough space for GMU registers",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-47535",
"datePublished": "2024-05-24T15:09:43.994Z",
"dateReserved": "2024-05-24T15:02:54.826Z",
"dateUpdated": "2026-08-05T08:48:16.665Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2021-47535",
"date": "2026-09-16",
"epss": "0.00236",
"percentile": "0.14749"
},
"fkie_nvd": {
"descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/msm/a6xx: Allocate enough space for GMU registers\\n\\nIn commit 142639a52a01 (\\\"drm/msm/a6xx: fix crashstate capture for\\nA650\\\") we changed a6xx_get_gmu_registers() to read 3 sets of\\nregisters. Unfortunately, we didn\u0027t change the memory allocation for\\nthe array. That leads to a KASAN warning (this was on the chromeos-5.4\\nkernel, which has the problematic commit backported to it):\\n\\n BUG: KASAN: slab-out-of-bounds in _a6xx_get_gmu_registers+0x144/0x430\\n Write of size 8 at addr ffffff80c89432b0 by task A618-worker/209\\n CPU: 5 PID: 209 Comm: A618-worker Tainted: G W 5.4.156-lockdep #22\\n Hardware name: Google Lazor Limozeen without Touchscreen (rev5 - rev8) (DT)\\n Call trace:\\n dump_backtrace+0x0/0x248\\n show_stack+0x20/0x2c\\n dump_stack+0x128/0x1ec\\n print_address_description+0x88/0x4a0\\n __kasan_report+0xfc/0x120\\n kasan_report+0x10/0x18\\n __asan_report_store8_noabort+0x1c/0x24\\n _a6xx_get_gmu_registers+0x144/0x430\\n a6xx_gpu_state_get+0x330/0x25d4\\n msm_gpu_crashstate_capture+0xa0/0x84c\\n recover_worker+0x328/0x838\\n kthread_worker_fn+0x32c/0x574\\n kthread+0x2dc/0x39c\\n ret_from_fork+0x10/0x18\\n\\n Allocated by task 209:\\n __kasan_kmalloc+0xfc/0x1c4\\n kasan_kmalloc+0xc/0x14\\n kmem_cache_alloc_trace+0x1f0/0x2a0\\n a6xx_gpu_state_get+0x164/0x25d4\\n msm_gpu_crashstate_capture+0xa0/0x84c\\n recover_worker+0x328/0x838\\n kthread_worker_fn+0x32c/0x574\\n kthread+0x2dc/0x39c\\n ret_from_fork+0x10/0x18\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se resolvi\\u00f3 la siguiente vulnerabilidad: drm/msm/a6xx: asigne suficiente espacio para los registros GMU. En el commit 142639a52a01 (\\\"drm/msm/a6xx: corrija la captura del estado de falla para A650\\\") cambiamos a6xx_get_gmu_registers() para que diga 3 conjuntos de registros. Desafortunadamente, no cambiamos la asignaci\\u00f3n de memoria para la matriz. Eso conduce a una advertencia de KASAN (esto estaba en el kernel chromeos-5.4, que tiene el commit problem\\u00e1tica respaldada): ERROR: KASAN: slab-out-of-bounds in _a6xx_get_gmu_registers+0x144/0x430 Escritura de tama\\u00f1o 8 en addr ffffff80c89432b0 por tarea A618-worker/209 CPU: 5 PID: 209 Comm: A618-worker Contaminado: GW 5.4.156-lockdep #22 Nombre del hardware: Google Lazor Limozeen sin pantalla t\\u00e1ctil (rev5 - rev8) (DT) Rastreo de llamadas: dump_backtrace+0x0 /0x248 show_stack+0x20/0x2c dump_stack+0x128/0x1ec print_address_description+0x88/0x4a0 __kasan_report+0xfc/0x120 kasan_report+0x10/0x18 __asan_report_store8_noabort+0x1c/0x24 _a6xx_get_gmu_registers +0x144/0x430 a6xx_gpu_state_get+0x330/0x25d4 msm_gpu_crashstate_capture+0xa0/0x84c recovery_worker+0x328 /0x838 kthread_worker_fn+0x32c/0x574 kthread+0x2dc/0x39c ret_from_fork+0x10/0x18 Asignado por la tarea 209: __kasan_kmalloc+0xfc/0x1c4 kasan_kmalloc+0xc/0x14 kmem_cache_alloc_trace+0x1f0/0x 2a0 a6xx_gpu_state_get+0x164/0x25d4 msm_gpu_crashstate_capture+0xa0/0x84c recovery_worker+0x328 /0x838 kthread_worker_fn+0x32c/0x574 kthread+0x2dc/0x39c ret_from_fork+0x10/0x18\"}]",
"id": "CVE-2021-47535",
"lastModified": "2024-12-04T21:15:18.563",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\", \"baseScore\": 6.2, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 2.5, \"impactScore\": 3.6}]}",
"published": "2024-05-24T15:15:17.120",
"references": "[{\"url\": \"https://git.kernel.org/stable/c/83e54fcf0b14ca2d869dd37abe1bb6542805f538\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/b4d25abf9720b69a03465b09d0d62d1998ed6708\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/d646856a600e8635ba498f20b194219b158626e8\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/83e54fcf0b14ca2d869dd37abe1bb6542805f538\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/b4d25abf9720b69a03465b09d0d62d1998ed6708\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/d646856a600e8635ba498f20b194219b158626e8\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Awaiting Analysis",
"weaknesses": "[{\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-787\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2021-47535\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-24T15:15:17.120\",\"lastModified\":\"2026-08-04T10:17:07.590\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/msm/a6xx: Allocate enough space for GMU registers\\n\\nIn commit 142639a52a01 (\\\"drm/msm/a6xx: fix crashstate capture for\\nA650\\\") we changed a6xx_get_gmu_registers() to read 3 sets of\\nregisters. Unfortunately, we didn\u0027t change the memory allocation for\\nthe array. That leads to a KASAN warning (this was on the chromeos-5.4\\nkernel, which has the problematic commit backported to it):\\n\\n BUG: KASAN: slab-out-of-bounds in _a6xx_get_gmu_registers+0x144/0x430\\n Write of size 8 at addr ffffff80c89432b0 by task A618-worker/209\\n CPU: 5 PID: 209 Comm: A618-worker Tainted: G W 5.4.156-lockdep #22\\n Hardware name: Google Lazor Limozeen without Touchscreen (rev5 - rev8) (DT)\\n Call trace:\\n dump_backtrace+0x0/0x248\\n show_stack+0x20/0x2c\\n dump_stack+0x128/0x1ec\\n print_address_description+0x88/0x4a0\\n __kasan_report+0xfc/0x120\\n kasan_report+0x10/0x18\\n __asan_report_store8_noabort+0x1c/0x24\\n _a6xx_get_gmu_registers+0x144/0x430\\n a6xx_gpu_state_get+0x330/0x25d4\\n msm_gpu_crashstate_capture+0xa0/0x84c\\n recover_worker+0x328/0x838\\n kthread_worker_fn+0x32c/0x574\\n kthread+0x2dc/0x39c\\n ret_from_fork+0x10/0x18\\n\\n Allocated by task 209:\\n __kasan_kmalloc+0xfc/0x1c4\\n kasan_kmalloc+0xc/0x14\\n kmem_cache_alloc_trace+0x1f0/0x2a0\\n a6xx_gpu_state_get+0x164/0x25d4\\n msm_gpu_crashstate_capture+0xa0/0x84c\\n recover_worker+0x328/0x838\\n kthread_worker_fn+0x32c/0x574\\n kthread+0x2dc/0x39c\\n ret_from_fork+0x10/0x18\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: drm/msm/a6xx: asigne suficiente espacio para los registros GMU. En el commit 142639a52a01 (\\\"drm/msm/a6xx: corrija la captura del estado de falla para A650\\\") cambiamos a6xx_get_gmu_registers() para que diga 3 conjuntos de registros. Desafortunadamente, no cambiamos la asignaci\u00f3n de memoria para la matriz. Eso conduce a una advertencia de KASAN (esto estaba en el kernel chromeos-5.4, que tiene el commit problem\u00e1tica respaldada): ERROR: KASAN: slab-out-of-bounds in _a6xx_get_gmu_registers+0x144/0x430 Escritura de tama\u00f1o 8 en addr ffffff80c89432b0 por tarea A618-worker/209 CPU: 5 PID: 209 Comm: A618-worker Contaminado: GW 5.4.156-lockdep #22 Nombre del hardware: Google Lazor Limozeen sin pantalla t\u00e1ctil (rev5 - rev8) (DT) Rastreo de llamadas: dump_backtrace+0x0 /0x248 show_stack+0x20/0x2c dump_stack+0x128/0x1ec print_address_description+0x88/0x4a0 __kasan_report+0xfc/0x120 kasan_report+0x10/0x18 __asan_report_store8_noabort+0x1c/0x24 _a6xx_get_gmu_registers +0x144/0x430 a6xx_gpu_state_get+0x330/0x25d4 msm_gpu_crashstate_capture+0xa0/0x84c recovery_worker+0x328 /0x838 kthread_worker_fn+0x32c/0x574 kthread+0x2dc/0x39c ret_from_fork+0x10/0x18 Asignado por la tarea 209: __kasan_kmalloc+0xfc/0x1c4 kasan_kmalloc+0xc/0x14 kmem_cache_alloc_trace+0x1f0/0x 2a0 a6xx_gpu_state_get+0x164/0x25d4 msm_gpu_crashstate_capture+0xa0/0x84c recovery_worker+0x328 /0x838 kthread_worker_fn+0x32c/0x574 kthread+0x2dc/0x39c ret_from_fork+0x10/0x18\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"142639a52a01e90c512a9a8d2156997e02a65b53\",\"lessThan\":\"d646856a600e8635ba498f20b194219b158626e8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"142639a52a01e90c512a9a8d2156997e02a65b53\",\"lessThan\":\"83e54fcf0b14ca2d869dd37abe1bb6542805f538\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"142639a52a01e90c512a9a8d2156997e02a65b53\",\"lessThan\":\"b4d25abf9720b69a03465b09d0d62d1998ed6708\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.84\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.7\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.16\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"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\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":6.2,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.5,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-06-17T17:34:34.685290Z\",\"id\":\"CVE-2021-47535\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-787\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.9\",\"versionEndExcluding\":\"5.10.84\",\"matchCriteriaId\":\"5DA1596A-37A3-44A8-8924-2C739062B649\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.7\",\"matchCriteriaId\":\"A696A60B-2782-4119-83DD-1EFFBC903F02\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"357AA433-37E8-4323-BFB2-3038D6E4B414\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"A73429BA-C2D9-4D0C-A75F-06A1CA8B3983\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"F621B5E3-E99D-49E7-90B9-EC3B77C95383\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/83e54fcf0b14ca2d869dd37abe1bb6542805f538\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b4d25abf9720b69a03465b09d0d62d1998ed6708\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/d646856a600e8635ba498f20b194219b158626e8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/83e54fcf0b14ca2d869dd37abe1bb6542805f538\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b4d25abf9720b69a03465b09d0d62d1998ed6708\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/d646856a600e8635ba498f20b194219b158626e8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-08-04T19:56:19+00:00",
"cve": "CVE-2021-47535",
"id": "CVE-2021-47535",
"initial_release_date": "2021-01-01T00:00:00+00:00",
"product_status:known_not_affected": "198",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: drm/msm/a6xx: Allocate enough space for GMU registers",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47535.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-09-11T02:37:22Z",
"cve": "CVE-2021-47535",
"id": "CVE-2021-47535",
"initial_release_date": "2024-05-28T15:29:39Z",
"product_status:known_affected": "269",
"product_status:known_not_affected": "224",
"product_status:recommended": "543",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2021-47535",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2021-47535.json",
"version": "59"
},
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/d646856a600e8635ba498f20b194219b158626e8\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/83e54fcf0b14ca2d869dd37abe1bb6542805f538\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/b4d25abf9720b69a03465b09d0d62d1998ed6708\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:39:59.827Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.2, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47535\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-17T17:34:34.685290Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-787\", \"description\": \"CWE-787 Out-of-bounds Write\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-17T17:34:35.689Z\"}}], \"cna\": {\"title\": \"drm/msm/a6xx: Allocate enough space for GMU registers\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The OOB write runs during GPU hang/fault crashstate capture reached via local MSM_GEM_SUBMIT on /dev/dri/renderD*; there is no network or adjacent-protocol path into a6xx_get_gmu_registers().\\nAC:L - An attacker can reliably hang or fault the Adreno GPU with crafted submits, and DRM_MSM selects WANT_DEV_COREDUMP so crashstate capture (the vulnerable path) runs by default; the KASAN report confirms the OOB write is hit deterministically on recover_worker.\\nPR:L - MSM_GEM_SUBMIT is DRM_RENDER_ALLOW with no root/CAP requirement; on msm/Adreno platforms (Android phones, ChromeOS) an unprivileged local user or app can open the render node and submit work.\\nUI:N - The attacker submits hang-inducing or faulting GPU work themselves; no separate victim action is required.\\nS:U - Impact is host-kernel slab corruption within the same OS security authority; this is not a VM escape, IOMMU bypass, or other cross-boundary compromise.\\nC:H - The slab out-of-bounds write of a6xx_gpu_state_obj fields into adjacent heap memory is memory corruption that can be leveraged for information disclosure per OOB-write guidance.\\nI:H - Writing handle/data pointers past a 2-element gmu_registers allocation is a heap out-of-bounds write, enabling adjacent-object corruption and control-flow hijacking primitives.\\nA:H - The documented KASAN slab-out-of-bounds write during recover_worker can oops/panic the kernel, so availability impact is High even without full exploitation.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"142639a52a01e90c512a9a8d2156997e02a65b53\", \"lessThan\": \"d646856a600e8635ba498f20b194219b158626e8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"142639a52a01e90c512a9a8d2156997e02a65b53\", \"lessThan\": \"83e54fcf0b14ca2d869dd37abe1bb6542805f538\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"142639a52a01e90c512a9a8d2156997e02a65b53\", \"lessThan\": \"b4d25abf9720b69a03465b09d0d62d1998ed6708\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.9\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.9\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.84\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.7\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/d646856a600e8635ba498f20b194219b158626e8\"}, {\"url\": \"https://git.kernel.org/stable/c/83e54fcf0b14ca2d869dd37abe1bb6542805f538\"}, {\"url\": \"https://git.kernel.org/stable/c/b4d25abf9720b69a03465b09d0d62d1998ed6708\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/msm/a6xx: Allocate enough space for GMU registers\\n\\nIn commit 142639a52a01 (\\\"drm/msm/a6xx: fix crashstate capture for\\nA650\\\") we changed a6xx_get_gmu_registers() to read 3 sets of\\nregisters. Unfortunately, we didn\u0027t change the memory allocation for\\nthe array. That leads to a KASAN warning (this was on the chromeos-5.4\\nkernel, which has the problematic commit backported to it):\\n\\n BUG: KASAN: slab-out-of-bounds in _a6xx_get_gmu_registers+0x144/0x430\\n Write of size 8 at addr ffffff80c89432b0 by task A618-worker/209\\n CPU: 5 PID: 209 Comm: A618-worker Tainted: G W 5.4.156-lockdep #22\\n Hardware name: Google Lazor Limozeen without Touchscreen (rev5 - rev8) (DT)\\n Call trace:\\n dump_backtrace+0x0/0x248\\n show_stack+0x20/0x2c\\n dump_stack+0x128/0x1ec\\n print_address_description+0x88/0x4a0\\n __kasan_report+0xfc/0x120\\n kasan_report+0x10/0x18\\n __asan_report_store8_noabort+0x1c/0x24\\n _a6xx_get_gmu_registers+0x144/0x430\\n a6xx_gpu_state_get+0x330/0x25d4\\n msm_gpu_crashstate_capture+0xa0/0x84c\\n recover_worker+0x328/0x838\\n kthread_worker_fn+0x32c/0x574\\n kthread+0x2dc/0x39c\\n ret_from_fork+0x10/0x18\\n\\n Allocated by task 209:\\n __kasan_kmalloc+0xfc/0x1c4\\n kasan_kmalloc+0xc/0x14\\n kmem_cache_alloc_trace+0x1f0/0x2a0\\n a6xx_gpu_state_get+0x164/0x25d4\\n msm_gpu_crashstate_capture+0xa0/0x84c\\n recover_worker+0x328/0x838\\n kthread_worker_fn+0x32c/0x574\\n kthread+0x2dc/0x39c\\n ret_from_fork+0x10/0x18\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.84\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.7\", \"versionStartIncluding\": \"5.9\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.16\", \"versionStartIncluding\": \"5.9\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T08:48:16.665Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2021-47535\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T08:48:16.665Z\", \"dateReserved\": \"2024-05-24T15:02:54.826Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-24T15:09:43.994Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…