CVE-2023-52921

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52921
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52921.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52921
Downstream
Related
Published
2024-11-19T01:26:30.495Z
Modified
2025-11-28T02:34:53.258771Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: fix possible UAF in amdgpucspass1()

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52921.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3
Fixed
e08e9dd09809b16f8f8cee8c466841b33d24ed96
Fixed
90e065677e0362a777b9db97ea21d43a39211399

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.11