CVE-2023-53228

drm/amdgpu: drop redundant sched job cleanup when cs is aborted

State
Published
Severity
5.5 Medium
Published
Sep 15, 2025
Updated
May 23, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 49aa99f05dbc75b9ae360a74648c420a80f7ee49 to before cdce1644d85e858c68fb5fa67d78eb1035bf34f4Affected
  • f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 to before c1564d4b105ae535eb3183ecaaa987685b20a888Affected
  • f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 to before ec02a29c3c2ef8ad3e15a0e3f96b99a00e5d97b4Affected
  • f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 to before 1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8Affected
  • 6.1.160 to before 6.1.167Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.2.16 through 6.2.*Not affected
  • 6.3.3 through 6.3.*Not affected
  • 6.4 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.