Menu

Star on GitHub · 3.2k

CVE-2021-47535

7.8 · HIGH

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")…

Published May 24, 2024CWE-787EPSS 0.24%

Overview

CVE-2021-47535 is a high-severity vulnerability. It was published on May 24, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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_r

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-47535?

CVE-2021-47535 is a high-severity vulnerability. It was published on May 24, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-47535?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47535?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47535?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47535 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2021

View all