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 7FD462701B8 for ; Sat, 4 Oct 2025 15:19: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=1759591146; cv=none; b=JHJAJZG10qH3NlQco3le20SB7yWBHZP4wAxVCxPNhJPol7UbnRHUemRauQ9LEY92szfCJn87nWuj9QgOH/pm0RgM4LA0A+2Lb00sI4a4PtLX8h7VIExcPJIiT7CqxA0BhoqxJ/KnNFBg327yEgXgukvVwErWNwxpGv9nZwAcyl0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759591146; c=relaxed/simple; bh=kO4z+BRm0aXPZirT6J3Zdekxw6e4DhwYwIeHdAa2pds=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sdvMfYx7WQ/5sOMTy4eH7IHGgyPia7U1G9roQsysGDGv2GIDXW/z7ujwJe116oS0wjgh5LSBz8vm5NaXbqpKFYfs9PRKqMpENwZf3gfbq1KH2GE1qZu6UsothC+6Vu8DxViRlHaH+u8gbiTMlu4zg9bxNDFFQyD52ns7IKD1ueE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=id2Lj9CF; 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="id2Lj9CF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C2B4C4CEF1; Sat, 4 Oct 2025 15:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759591146; bh=kO4z+BRm0aXPZirT6J3Zdekxw6e4DhwYwIeHdAa2pds=; h=From:To:Cc:Subject:Date:Reply-to:From; b=id2Lj9CF9MkevY3adEu9doAs9aiFbK33eq6pX4zxRzLegL4Ez0BYQtiIfbioNqb+j HbVzRUK7/j9fuHBPv0gN8tBZsbQr3rItv0YXWl4sUAcrWexFMxVzWU28wzE1JJnR5Y 9xIFZxifp99harwHlWtuQCfXl6fXoR8nGzV/bAAI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53567: spi: qup: Don't skip cleanup in remove's error path Date: Sat, 4 Oct 2025 17:17:21 +0200 Message-ID: <2025100452-CVE-2023-53567-dedf@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3394; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2iJa4gQtnNQWehj3LaUqoQhTDY6GwZcm7mD3WNwGhFE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPrVK+51y5MifKyPH0UgFv0a7bTcX9wfXLv/Q2L36aI 68dNnleRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExE9DTDguXWW0M37th4mnl+ ho1SvkKHEWOKOsOCybXM4Y7uGSXLlIPtz9orBk5PX2kJAA== 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: spi: qup: Don't skip cleanup in remove's error path Returning early in a platform driver's remove callback is wrong. In this case the dma resources are not released in the error path. this is never retried later and so this is a permanent leak. To fix this, only skip hardware disabling if waking the device fails. The Linux kernel CVE team has assigned CVE-2023-53567 to this issue. Affected and fixed versions =========================== Issue introduced in 3.15 with commit 64ff247a978facc437d40f0c9b754675846a98f0 and fixed in 4.19.283 with commit fd53f41bd86daa39b454fd4637a908ff2123547f Issue introduced in 3.15 with commit 64ff247a978facc437d40f0c9b754675846a98f0 and fixed in 5.4.243 with commit 8632384337038b97910c2f7bb5a3f377aa68d001 Issue introduced in 3.15 with commit 64ff247a978facc437d40f0c9b754675846a98f0 and fixed in 5.10.180 with commit bc88243bbe6140d289bb32b4ee4607ba5ce1124a Issue introduced in 3.15 with commit 64ff247a978facc437d40f0c9b754675846a98f0 and fixed in 5.15.111 with commit f345d4d71e87d878437417ffbb9a7d4e16d235eb Issue introduced in 3.15 with commit 64ff247a978facc437d40f0c9b754675846a98f0 and fixed in 6.1.28 with commit 2d0f63077f481f11a07f20eab1c1f4367dfaef32 Issue introduced in 3.15 with commit 64ff247a978facc437d40f0c9b754675846a98f0 and fixed in 6.2.15 with commit 55ecdcd12bc176b86fecbcb125ac814ac8fe857a Issue introduced in 3.15 with commit 64ff247a978facc437d40f0c9b754675846a98f0 and fixed in 6.3.2 with commit 49c17fccae36505550c9121891722fff337f148a Issue introduced in 3.15 with commit 64ff247a978facc437d40f0c9b754675846a98f0 and fixed in 6.4 with commit 61f49171a43ab1f80c73c5c88c508770c461e0f2 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-53567 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/spi/spi-qup.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/fd53f41bd86daa39b454fd4637a908ff2123547f https://git.kernel.org/stable/c/8632384337038b97910c2f7bb5a3f377aa68d001 https://git.kernel.org/stable/c/bc88243bbe6140d289bb32b4ee4607ba5ce1124a https://git.kernel.org/stable/c/f345d4d71e87d878437417ffbb9a7d4e16d235eb https://git.kernel.org/stable/c/2d0f63077f481f11a07f20eab1c1f4367dfaef32 https://git.kernel.org/stable/c/55ecdcd12bc176b86fecbcb125ac814ac8fe857a https://git.kernel.org/stable/c/49c17fccae36505550c9121891722fff337f148a https://git.kernel.org/stable/c/61f49171a43ab1f80c73c5c88c508770c461e0f2