Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 49aa99f05dbc75b9ae360a74648c420a80f7ee49 before cdce1644d85e858c68fb5fa67d78eb1035bf34f4; affected f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 before c1564d4b105ae535eb3183ecaaa987685b20a888; affected f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 before ec02a29c3c2ef8ad3e15a0e3f96b99a00e5d97b4; affected f7d66fb2ea43a3016e78a700a2ca6c77a74579f9 before 1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8; affected 6.1.160 before 6.1.167 |
| Linux / Linux | affected 6.2; unaffected 0 before 6.2; unaffected 6.1.167 through 6.1.*; unaffected 6.2.16 through 6.2.*; unaffected 6.3.3 through 6.3.*; unaffected 6.4 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/cdce1644d85e858c68fb5fa67d78eb1035bf34f4
- https://git.kernel.org/stable/c/c1564d4b105ae535eb3183ecaaa987685b20a888
- https://git.kernel.org/stable/c/ec02a29c3c2ef8ad3e15a0e3f96b99a00e5d97b4
- https://git.kernel.org/stable/c/1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8
ADP enrichment
No English description supplied.
No references supplied.