CVE-2023-52921
kernel: drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
Overview
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-416
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 32 fixes
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | bpftool +25 | eol |
| 8 | bpftool +45 | eol |
SUSE Linux Enterprise 2 releases · 8 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.5 | kernel-livepatch-5-14-21-150500-13-79-rt | 1-150500.11.3.1 | SUSE-SU-2024:4315-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-88-default | 1-150500.11.5.1 | SUSE-SU-2024:4364-1 |
| 15.5 | kernel-azure +4 | 5.14.21-150500.33.75.1 | SUSE-SU-2024:4376-1 |
| 15.5 | cluster-md-kmp-default +17 | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| 15.5 | kernel-default-base | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
| 15.6 | kernel-livepatch-6-4-0-150600-10-20-rt | 1-150600.1.3.1 | SUSE-SU-2024:4314-1 |
5 more rows
SUSE Linux Enterprise Micro 3 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.5 | kernel-rt +1 | 5.14.21-150500.13.79.1 | SUSE-SU-2024:4315-1 |
| 5.5 | kernel-default | 5.14.21-150500.55.88.1 | SUSE-SU-2024:4364-1 |
| 5.5 | kernel-default-base | 5.14.21-150500.55.88.1.150500.6.39.4 | SUSE-SU-2024:4364-1 |
| 6.0 | kernel-livepatch-6-4-0-22-rt | 1-1.1 | SUSE-SU-2025:20163-1 |
| 6.0 | kernel-livepatch-6-4-0-24-default | 1-1.2 | SUSE-SU-2025:20164-1 |
| 6.0 | kernel-devel-rt +3 | 6.4.0-22.1 | SUSE-SU-2025:20163-1 |
7 more rows
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | linux | 6.4.11-1 |
| 14 | linux | 6.4.11-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.4.11-1 |
openSUSE Leap Micro 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.5 | kernel-rt | 5.14.21-150500.13.79.1 | SUSE-SU-2024:4315-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | rootio-linux | 6.4.11-1 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux +1 | 5.15.0-179.189.root.io.88 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-52921
- git.kernel.org https://git.kernel.org/stable/c/90e065677e0362a777b9db97ea21d43a39211399
- git.kernel.org https://git.kernel.org/stable/c/e08e9dd09809b16f8f8cee8c466841b33d24ed96
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2024111958-CVE-2023-52921-78df@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-52921
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-52921
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.