Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: ptdma: check for null desc before calling pt_cmd_callback Resolves a panic that can occur on AMD systems, typically during host shutdown, after the PTDMA driver had been exercised. The issue was the pt_issue_pending() function is mistakenly assuming that there will be at least one descriptor in the Submitted queue when the function is called. However, it is possible that both the Submitted and Issued queues could be empty, which could result in pt_cmd_callback() being mistakenly called with a NULL pointer. Ref: Bugzilla Bug 216856.
Product status
6fa7e0e836e23e2c758ac3930b040c8abbbf8a6f (git) before 8ae2113702613207efc05453bc9a3df2b992bf45
6fa7e0e836e23e2c758ac3930b040c8abbbf8a6f (git) before 5bba023b1241c7af5d40447503a68de282ad5190
6fa7e0e836e23e2c758ac3930b040c8abbbf8a6f (git) before 928469986171a6f763b34b039427f5667ba3fd50
5.18
Any version before 5.18
6.1.16 (semver)
6.2.3 (semver)
6.3 (original_commit_for_fix)
References
git.kernel.org/...c/8ae2113702613207efc05453bc9a3df2b992bf45
git.kernel.org/...c/5bba023b1241c7af5d40447503a68de282ad5190
git.kernel.org/...c/928469986171a6f763b34b039427f5667ba3fd50