Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A99F1DF980 for ; Mon, 8 Dec 2025 01:20:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765156806; cv=none; b=DKaLqVAzXk8LOOA/GqcyiMfZkWY9KMothvgz3p13CKWm8CPATr8ckWun9R4KzGfyeDrrHJjxA/Ej2oThWu6tP0pxzVgOwNKAiHUCHlkEnWENMn7a8vmuFlDK9TFjG9p634JgHAg6/BPHKRdz4/IpnETNX0/nquaFdAk7Ny/MCCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765156806; c=relaxed/simple; bh=s8v+x2YtUbtEa9qLuyBy6nXJwWfxfqpaVMmC3n8Hj4s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kf645iOoVJzqkvriz9r3GetjNgga21sFRcoXxgGGkCJhmFvD1mvXZb250rliYWd4zsTqLUAp8LTqCG17eZso57Qu1UFIwYVgKvODGSs75e5gnsS+tkfal+yI+Pi2pQCvRWF1Afsy1bQty7G65pUcc6aRuAPVHeOP8YuKJ1v6Iog= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dyEhNTQj; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dyEhNTQj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B74CAC4CEFB; Mon, 8 Dec 2025 01:20:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765156806; bh=s8v+x2YtUbtEa9qLuyBy6nXJwWfxfqpaVMmC3n8Hj4s=; h=From:To:Cc:Subject:Date:Reply-To:From; b=dyEhNTQjAI/SSBe+WrEabqqpkG6zuweBmDDHtHNGUI9LXLLHziYtpE1Ixe8SqT2PV jJ2RMlkBlabjXJvMvxa7BTekrKumWhbYukuVSViF8Pz+zaS5rL5YeLyuF6Yx5+aK/Q dDFndQ+OxOhOhwn1Vsq3fywbAUSI9XvX1dW2D7Dg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53755: dmaengine: ptdma: check for null desc before calling pt_cmd_callback Date: Mon, 8 Dec 2025 10:19:54 +0900 Message-ID: <2025120843-CVE-2023-53755-1c4b@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2499; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jO1Ehbe9J00a3wLBNdn13CNuATxW7gmtd3NShdXp/x0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlm6uuvfcqbfLnhtcUy8fv7ZVeyfIwv4OzP+Ma0mrlY8 Wyp++S2jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIp26GWUwPWvKlTUJD2W7G 3LZXr9X6/TM3h2GufPJrlyjFownnjypmPTb5mpzQe5oBAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2023-53755 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 6fa7e0e836e23e2c758ac3930b040c8abbbf8a6f and fixed in 6.1.16 with commit 8ae2113702613207efc05453bc9a3df2b992bf45 Issue introduced in 5.18 with commit 6fa7e0e836e23e2c758ac3930b040c8abbbf8a6f and fixed in 6.2.3 with commit 5bba023b1241c7af5d40447503a68de282ad5190 Issue introduced in 5.18 with commit 6fa7e0e836e23e2c758ac3930b040c8abbbf8a6f and fixed in 6.3 with commit 928469986171a6f763b34b039427f5667ba3fd50 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-53755 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/dma/ptdma/ptdma-dmaengine.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/8ae2113702613207efc05453bc9a3df2b992bf45 https://git.kernel.org/stable/c/5bba023b1241c7af5d40447503a68de282ad5190 https://git.kernel.org/stable/c/928469986171a6f763b34b039427f5667ba3fd50