CVE-2023-52921

drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()

HIGH
7.8
CVSS Score
Published: November 19, 2024 at 01:26 AM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix possible UAF in amdgpu_cs_pass1() Since the gang_size check is outside of chunk parsing loop, we need to reset i before we free the chunk data. Suggested by Ye Zhang (@VAR10CK) of Baidu Security.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.466.2 ≤ v < 6.4.116.2 ≤ v < 6.52ebf61f2cfb9a11bc17db30df3e675a4cd7418d36.5 rc16.5 rc26.5 rc36.5 rc46.5 rc5
Vendor states this is fixed in 90e065677e0362a777b9db97ea21d43a39211399 (fixed)
Vendor states this is fixed in e08e9dd09809b16f8f8cee8c466841b33d24ed96 (fixed)
Affected range stops below 6.1.46, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.2 (unaffected)
Vendor states this is fixed in 6.4.11 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/90e065677e0362a777b9db97ea21d43a39211399
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e08e9dd09809b16f8f8cee8c466841b33d24ed96

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card