CVE-2023-52921

drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()

State
Published
Severity
7.8 High
Published
Nov 19, 2024
Updated
Aug 5, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3 to before e08e9dd09809b16f8f8cee8c466841b33d24ed96Affected
  • 2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3 to before 90e065677e0362a777b9db97ea21d43a39211399Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.4.11 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.