Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 49aa99f05dbc75b9ae360a74648c420a80f7ee49 to < cdce1644d85e858c68fb5fa67d78eb1035bf34f4affected
  • f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 to < c1564d4b105ae535eb3183ecaaa987685b20a888affected
  • f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 to < ec02a29c3c2ef8ad3e15a0e3f96b99a00e5d97b4affected
  • f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 to < 1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8affected
  • 6.1.160 to < 6.1.167affected

Linux Linux

Default version status: affected

  • 6.2affected
  • 0 to < 6.2unaffected
  • 6.1.167 to ≤ 6.1.*unaffected
  • 6.2.16 to ≤ 6.2.*unaffected
  • 6.3.3 to ≤ 6.3.*unaffected
  • 6.4 to ≤ *unaffected

References