CVE-2023-52921Published Nov 19, 2024 · Nov 19Updated Oct 28
drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's amdgpu driver has a possible use-after-free in amdgpu_cs_pass1() related to freeing chunk data. The input does not specify how an attacker could exploit it or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the amdgpu driver should check their systems; affected versions are not specified.