All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2026-80902: dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA
@ 2026-09-04 17:09 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-09-04 17:09 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

From: Greg Kroah-Hartman <gregkh@kernel.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-04 17:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 17:09 CVE-2026-80902: dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.