CVE-2023-52921
JSON

7.8high

drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3 before e08e9dd09809b16f8f8cee8c466841b33d24ed96, from 2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3 before 90e065677e0362a777b9db97ea21d43a39211399, 6.2
Not affected: before 6.2, from 6.4.11 up to 6.4.*, from 6.5 up to *
CVE List
linux linux_kernelbefore 6.1.46, from 6.2 before 6.4.11, 6.5NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amdgpu: se corrige un posible UAF en amdgpu_cs_pass1(). Dado que la comprobación de gang_size está fuera del bucle de análisis de fragmentos, debemos restablecer i antes de liberar los datos del fragmento. Sugerido por Ye Zhang (@VAR10CK) de Baidu Security.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52921 changed 2026-08-05CVE Terms of Use
NVDCVE-2023-52921 changed 2026-06-17Public domain