Skip to contentSkip to conversation

CVE-2026-89993: dmaengine: dw-edma: Initialize IRQ data before requesting IRQs

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: dw-edma: Initialize IRQ data before requesting IRQs

dw_edma_irq_request() passes struct dw_edma_irq to request_irq() before dw_edma_channel_setup() fills the back pointer. A shared interrupt can therefore enter the handler with dw_irq->dw still NULL, leading to a NULL pointer dereference.

Set the back pointer before installing each handler.

The Linux kernel CVE team has assigned CVE-2026-89993 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.3 with commit e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf and fixed in 5.15.221 with commit b86280b12ccf33b68b309b7cb0e4476894dfe77c
	Issue introduced in 5.3 with commit e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf and fixed in 6.1.188 with commit 07e50cef557def076418c67051a336e4c6bd50e1
	Issue introduced in 5.3 with commit e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf and fixed in 6.6.157 with commit 17ef63843c0fcbf1efdfbbfb0f5584a5ea2c91ba
	Issue introduced in 5.3 with commit e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf and fixed in 6.12.110 with commit d232bc6cf4562132ef50644484dfd4b23a593295
	Issue introduced in 5.3 with commit e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf and fixed in 6.18.51 with commit fac202d73e7a649b7d4010325c6c6dcd9334fe65
	Issue introduced in 5.3 with commit e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf and fixed in 7.2.5 with commit d91fb6c0d10dad32929dc5c6850f89df34e1bfcd
	Issue introduced in 5.3 with commit e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf and fixed in 7.3-rc1 with commit 647217abea849d3d45f8cb0b8ee5b78d50f26985

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-89993

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/dw-edma/dw-edma-core.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/b86280b12ccf33b68b309b7cb0e4476894dfe77c
	https://git.kernel.org/stable/c/07e50cef557def076418c67051a336e4c6bd50e1
	https://git.kernel.org/stable/c/17ef63843c0fcbf1efdfbbfb0f5584a5ea2c91ba
	https://git.kernel.org/stable/c/d232bc6cf4562132ef50644484dfd4b23a593295
	https://git.kernel.org/stable/c/fac202d73e7a649b7d4010325c6c6dcd9334fe65
	https://git.kernel.org/stable/c/d91fb6c0d10dad32929dc5c6850f89df34e1bfcd
	https://git.kernel.org/stable/c/647217abea849d3d45f8cb0b8ee5b78d50f26985