What’s Vulnerable › Vulnerabilities

CVE-2023-53228: drm/amdgpu: drop redundant sched job cleanup when cs is aborted

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: drop redundant sched job cleanup when cs is aborted Once command submission failed due to userptr invalidation in amdgpu_cs_submit, legacy code will perform cleanup of scheduler job. However, it's not needed at all, as former commit has integrated job cleanup stuff into amdgpu_job_free. Otherwise, because of double free, a NULL pointer dereference will occur in such scenario. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2457

Affected products

How to fix

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

References

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