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 392A228B7DA for ; Tue, 30 Dec 2025 12:11:13 +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=1767096674; cv=none; b=uBl6WTlaDay8cZ7tRMR0k1fhJ+l1w51xbOEThjkDGFIbo1aRX4X93jmINW/WjX/gZ0GAdt+jS5VO2OXn/3IVVTHdkkJ4h/UuYIZoDyV3BjRZopZO5LLJaPlMDAQfILFvCD7NM621ygyXVSYh8MSYN7JOv/S/LQhSNrVHSUzvzIQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096674; c=relaxed/simple; bh=3WsdHiOEPTymTWGsknGmWHKOdifkTtevWdvGk0wFXzc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ojYJe/Vd8lgulmr0lLg8virhW/ShQriMFLLsUROuXkwRBBTmK014d9ApOihhTeiCujDhd887ti6sP9jx4WthohK/kxlXGZkXNeLCQGOoEeJLJXOX6Atmh4mWCnj8iF2sbL/sEYUv0k0wt/PmdQKh3WV4HZDPUhwJckSpp41Z4jo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lEh/fZA+; 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="lEh/fZA+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6854EC4CEFB; Tue, 30 Dec 2025 12:11:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096673; bh=3WsdHiOEPTymTWGsknGmWHKOdifkTtevWdvGk0wFXzc=; h=From:To:Cc:Subject:Date:Reply-To:From; b=lEh/fZA+BFa/i+GBVAcTxpeLcKmio6OBXNCQGTuzWYd3B0T1ENBSAGaX3WSujq6KO WzDGACpMGZSUrycg+ca3bc+gxtb04tffrS0f4N2EVceSMyhX34TilrLUVArBzru/6T MTtUpCIuvve49XnQodKx/VyBOyx0XDOxwZyBeC8k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54188: dmaengine: apple-admac: Fix 'current_tx' not getting freed Date: Tue, 30 Dec 2025 13:09:56 +0100 Message-ID: <2025123026-CVE-2023-54188-07f3@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=2395; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KdXKC2JvPAPfcbheVrFqOw2goe5js+Zs0DR1QANhWwo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB75N/rt+10Kd+kglDvvbBj0MP/LNeddka/dXG6+zk 5NmWpXTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNZlc6w4Mi8uTlM9lt95wX5 nPlruHyP3//XUQzz/d6z7MiuN+e3vbZm75ElVoLz3wX8AwA= 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: apple-admac: Fix 'current_tx' not getting freed In terminate_all we should queue up all submitted descriptors to be freed. We do that for the content of the 'issued' and 'submitted' lists, but the 'current_tx' descriptor falls through the cracks as it's removed from the 'issued' list once it gets assigned to be the current descriptor. Explicitly queue up freeing of the 'current_tx' descriptor to address a memory leak that is otherwise present. The Linux kernel CVE team has assigned CVE-2023-54188 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit b127315d9a78c011c011b88b92f650510edcfbd2 and fixed in 6.1.25 with commit b7abd535881a48587961c2099b1d2933ebd42c4b Issue introduced in 6.0 with commit b127315d9a78c011c011b88b92f650510edcfbd2 and fixed in 6.2.12 with commit fd4d88e68c75caf5c6f8293a36bc3ae289e0369e Issue introduced in 6.0 with commit b127315d9a78c011c011b88b92f650510edcfbd2 and fixed in 6.3 with commit d9503be5a100c553731c0e8a82c7b4201e8a970c 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-54188 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/apple-admac.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/b7abd535881a48587961c2099b1d2933ebd42c4b https://git.kernel.org/stable/c/fd4d88e68c75caf5c6f8293a36bc3ae289e0369e https://git.kernel.org/stable/c/d9503be5a100c553731c0e8a82c7b4201e8a970c