What’s Vulnerable › Vulnerabilities

CVE-2023-52921: drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.46, 6.4.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52921 or the next vulnerability affects your stack