[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091514-CVE-2023-53228-441c@gregkh>
Date: Mon, 15 Sep 2025 16:22:02 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53228: drm/amdgpu: drop redundant sched job cleanup when cs is aborted
From: Greg Kroah-Hartman <gregkh@...nel.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
The Linux kernel CVE team has assigned CVE-2023-53228 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.2 with commit f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 and fixed in 6.2.16 with commit c1564d4b105ae535eb3183ecaaa987685b20a888
Issue introduced in 6.2 with commit f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 and fixed in 6.3.3 with commit ec02a29c3c2ef8ad3e15a0e3f96b99a00e5d97b4
Issue introduced in 6.2 with commit f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 and fixed in 6.4 with commit 1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-53228
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/c1564d4b105ae535eb3183ecaaa987685b20a888
https://git.kernel.org/stable/c/ec02a29c3c2ef8ad3e15a0e3f96b99a00e5d97b4
https://git.kernel.org/stable/c/1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8
Powered by blists - more mailing lists