From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 3DEBD51118F for ; Fri, 4 Sep 2026 17:13:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788542040; cv=none; b=QgYVtgmOibv/JpI0a/mriLIclA609pJKUsfT1GAgUdId06/xAIj6UZqHf/ihIVVFoObjWkezpOvxHFStoGiQMCt0SSQeIYLt+Wh7MM5qpHxvfs5F0fnWcAFS91HdQddcBbcSdsuO/d7p18I1dN+guFV84kJac9X8iclxmdkkXI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788542040; c=relaxed/simple; bh=8wwCyRnoop3owjK5SmDKXaIBKKMI3HruZPlNU9qD6gw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lyS8JoS49zi8+4pZh5EF1y/gxzonClp6Y2XQ3cmi+8Jz0wvjgZ88+esohvfqU346wdHS/ueyCBDqnlFqRoOBmgLSkphdd5tXT72g4ifANH4kasuruqsJH7lVm6u1lU8cEi1sWfN/3TyJNIgOV9IcX+dqbn7tDOxA5IhdRXdilIs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=f/bKYxMf; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="f/bKYxMf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B94741F00A3F; Fri, 4 Sep 2026 17:13:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788542038; bh=okB62rFKj0O3glAdE7vcscqLgek4c50korL64uTY+dA=; h=From:To:Cc:Subject:Date:Reply-To; b=f/bKYxMfLZvKeTzEKNmF64CY5Fa8N5nNiAHhJO09WVFvlVvIRVkWx5zh1zA/NVeaw wKdYbYPw8x+0o07CHVEm1nAGxztTDitnC8wodBxQAK3+S8Fn36VzvgwMMEeNSDjLSz 7fxoMA7wNZRzEhqy6kZ7nxOfIz5cgqOLG/KfS6NQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80902: dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA Date: Fri, 4 Sep 2026 19:09:43 +0200 Message-ID: <2026090432-CVE-2026-80902-924d@gregkh> X-Mailer: git-send-email 2.55.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=3619; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aumjjF/iGLq7he0SJpkScDrcscJRvxvpwIouUyG/tb4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmzfvsI7y8wa5Zbekxba/JMWcGoctUXSeHX/64WqXfiv m+e2hneEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOpyWaYnz9PIml12Y3KpNtH DNmOf1RbmaUaxbDgtJ7I2vZ3GZfnTvDn9DTOfJD3e44XAA== 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: sun6i-dma: Fix reclaim descriptors while terminating DMA When terminating DMA transfers, active descriptors are not properly reclaimed. Only cyclic descriptors were handled, leaving non-cyclic descriptors and their LLI chains to be permanently leaked. Fix by using vchan_terminate_vdesc() which handles both cyclic and non-cyclic descriptors by adding them to desc_terminated queue for proper cleanup. Add pchan->desc != pchan->done check to prevent double-adding completed descriptors, which would corrupt the list. The Linux kernel CVE team has assigned CVE-2026-80902 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit 555859308723d8d5b828304f5eb9281143fd86b5 and fixed in 5.10.265 with commit bb87440561eb72b47a2b848b5373b86433b247e6 Issue introduced in 3.17 with commit 555859308723d8d5b828304f5eb9281143fd86b5 and fixed in 5.15.216 with commit 004a7a02982bed0a727a4ac7be400f00f353e7a2 Issue introduced in 3.17 with commit 555859308723d8d5b828304f5eb9281143fd86b5 and fixed in 6.1.183 with commit b150f603083cc8b72b0cbf13ec3e91f85b4390a0 Issue introduced in 3.17 with commit 555859308723d8d5b828304f5eb9281143fd86b5 and fixed in 6.6.151 with commit 27806fe7b9701af0963dcd510e30e7d0cc314c43 Issue introduced in 3.17 with commit 555859308723d8d5b828304f5eb9281143fd86b5 and fixed in 6.12.103 with commit 1ccc5c059d067c5358682ad5352e7d7e9239ed9b Issue introduced in 3.17 with commit 555859308723d8d5b828304f5eb9281143fd86b5 and fixed in 6.18.44 with commit 9086b488f2737d5dcee86852b83f2059f1cdfabf Issue introduced in 3.17 with commit 555859308723d8d5b828304f5eb9281143fd86b5 and fixed in 7.1.8 with commit d4ba6aa65fcd797152d3aebd428a7b2da49cd5eb Issue introduced in 3.17 with commit 555859308723d8d5b828304f5eb9281143fd86b5 and fixed in 7.2 with commit ab1150115e68a46b687eb38c1ab92782018c9f2c 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-2026-80902 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/sun6i-dma.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/bb87440561eb72b47a2b848b5373b86433b247e6 https://git.kernel.org/stable/c/004a7a02982bed0a727a4ac7be400f00f353e7a2 https://git.kernel.org/stable/c/b150f603083cc8b72b0cbf13ec3e91f85b4390a0 https://git.kernel.org/stable/c/27806fe7b9701af0963dcd510e30e7d0cc314c43 https://git.kernel.org/stable/c/1ccc5c059d067c5358682ad5352e7d7e9239ed9b https://git.kernel.org/stable/c/9086b488f2737d5dcee86852b83f2059f1cdfabf https://git.kernel.org/stable/c/d4ba6aa65fcd797152d3aebd428a7b2da49cd5eb https://git.kernel.org/stable/c/ab1150115e68a46b687eb38c1ab92782018c9f2c