Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-47535

HIGH 7.8EPSS 20%

drm/msm/a6xx: Allocate enough space for GMU registers

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 142639a52a01e90c512a9a8d2156997e02a65b53, < d646856a600e8635ba498f20b194219b158626e8; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < 83e54fcf0b14ca2d869dd37abe1bb6542805f538; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < b4d25abf9720b69a03465b09d0d62d1998ed6708
  • Anyone running Linux 5.9

Vulnerability facts

Affected
Linux >= 142639a52a01e90c512a9a8d2156997e02a65b53, < d646856a600e8635ba498f20b194219b158626e8; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < 83e54fcf0b14ca2d869dd37abe1bb6542805f538; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < b4d25abf9720b69a03465b09d0d62d1998ed6708; Linux 5.9
Fixed in
Linux 83e54fcf0b14ca2d869dd37abe1bb6542805f538
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
CWE
CWE-787
Published
Modified

Description

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 142639a52a01e90c512a9a8d2156997e02a65b53, < d646856a600e8635ba498f20b194219b158626e8; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < 83e54fcf0b14ca2d869dd37abe1bb6542805f538; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < b4d25abf9720b69a03465b09d0d62d1998ed6708—cvelist
Linux5.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-47535. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47535.md
Affected: Linux >= 142639a52a01e90c512a9a8d2156997e02a65b53, < d646856a600e8635ba498f20b194219b158626e8; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < 83e54fcf0b14ca2d869dd37abe1bb6542805f538; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < b4d25abf9720b69a03465b09d0d62d1998ed6708; Linux 5.9
Fixed in: Linux 83e54fcf0b14ca2d869dd37abe1bb6542805f538

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-47535 being exploited?

There is no confirmed exploitation: CVE-2021-47535 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-47535?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2021-47535?

Linux >= 142639a52a01e90c512a9a8d2156997e02a65b53, < d646856a600e8635ba498f20b194219b158626e8; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < 83e54fcf0b14ca2d869dd37abe1bb6542805f538; >= 142639a52a01e90c512a9a8d2156997e02a65b53, < b4d25abf9720b69a03465b09d0d62d1998ed6708; Linux 5.9.

Is there a fix for CVE-2021-47535?

Yes. Fixed in Linux 83e54fcf0b14ca2d869dd37abe1bb6542805f538. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2021-47535?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors