LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47535: drm/msm/a6xx: Allocate enough space for GMU registers

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

MediumCVSS 6.2Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This is a Linux kernel memory safety bug in the Qualcomm Adreno A6xx graphics driver path. During GPU crash-state capture, the kernel allocated too little space for GMU register data, causing an out-of-bounds write. The main business risk is device instability or denial of service on affected systems, not data theft based on the provided sources.

Executive priority

Handle through normal kernel patch management, with higher priority for fleets using Qualcomm Adreno A6xx devices. This is not shown as actively exploited, but it can affect availability and should not remain in long-lived device images.

Technical view

The issue is a CWE-787 slab out-of-bounds write in drm/msm/a6xx register capture. A prior change made a6xx_get_gmu_registers() read three register sets, but the allocation size was not increased. KASAN reported an 8-byte write beyond the allocated array during msm_gpu_crashstate_capture() in the GPU recovery worker.

Likely exposure

Exposure appears limited to Linux systems running affected kernel builds with the msm A6xx GPU driver path, including affected stable branches or backports carrying the problematic commit. The source explicitly mentions a chromeos-5.4 kernel with the commit backported. General Linux servers without this graphics stack are less likely to be exposed.

Exploitation context

The CVSS vector is local, low complexity, no privileges, no user interaction, with high availability impact. The provided bundle does not show KEV listing or active exploitation. Treat this as a stability and denial-of-service concern unless vendor guidance or telemetry shows broader impact.

Researcher notes

Evidence is strongest for the exact crash-state capture allocation mismatch described in the kernel fix. The source bundle does not provide exploit details, affected device models beyond the KASAN example, or distribution-specific fixed package versions. Validate downstream exposure by commit presence and driver usage.

Mitigation direction

  • Apply vendor kernel updates that include the referenced stable fixes.
  • Prioritize affected laptops, tablets, embedded devices, or ChromeOS-derived builds using Adreno A6xx graphics.
  • Check downstream kernel backports, not only upstream version numbers.
  • Follow Linux distribution or device vendor advisories for exact fixed builds.
  • Avoid unsupported kernel trees carrying the problematic commit without the allocation fix.

Validation and detection

  • Inventory devices using the Linux msm DRM A6xx driver path.
  • Compare deployed kernel versions and backported commits with vendor fixed builds.
  • Confirm the referenced stable fix commits are present in maintained kernel branches.
  • Review kernel crash logs for KASAN slab-out-of-bounds reports in a6xx_get_gmu_registers().
  • Regression-test GPU recovery and crash-state capture after updating.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-47535 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.2CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H2.53.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

6.2Medium
CVSS 3.1 vector shape for CVE-2021-47535Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux142639a52a01e90c512a9a8d2156997e02a65b53, 142639a52a01e90c512a9a8d2156997e02a65b53, 142639a52a01e90c512a9a8d2156997e02a65b53unaffected
LinuxLinux5.9, 0, 5.10.84, 5.15.7, 5.16affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.