Bug 2327173 (CVE-2023-52921) - CVE-2023-52921 kernel: drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
Summary: CVE-2023-52921 kernel: drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
Keywords:
Status: NEW
Alias: CVE-2023-52921
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-19 02:01 UTC by OSIDB Bzimport
Modified: 2024-12-18 11:56 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-19 02:01:43 UTC
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.

Comment 1 Avinash Hanwate 2024-11-19 05:53:22 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024111958-CVE-2023-52921-78df@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.