[PATCH 00/15] dmaengine: fix device leaks
From: Johan Hovold
Date: Mon Nov 17 2025 - 11:18:09 EST
The dmaengine drivers pretty consistently failed to release references
taken when looking up devices using of_find_device_by_node() and similar
helpers.
Included are also two OF node leak fixes and a couple of related
cleanups.
Johan
Johan Hovold (15):
dmaengine: at_hdmac: fix device leak on of_dma_xlate()
dmaengine: bcm-sba-raid: fix device leak on probe
dmaengine: cv1800b-dmamux: fix device leak on route allocation
dmaengine: dw: dmamux: fix OF node leak on route allocation failure
dmaengine: idxd: fix device leaks on compat bind and unbind
dmaengine: lpc18xx-dmamux: fix device leak on route allocation
dmaengine: lpc32xx-dmamux: fix device leak on route allocation
dmaengine: sh: rz-dmac: fix device leak on probe failure
dmaengine: stm32: dmamux: fix device leak on route allocation
dmaengine: stm32: dmamux: fix OF node leak on route allocation failure
dmaengine: stm32: dmamux: clean up route allocation error labels
dmaengine: ti: dma-crossbar: fix device leak on dra7x route allocation
dmaengine: ti: dma-crossbar: fix device leak on am335x route
allocation
dmaengine: ti: dma-crossbar: clean up dra7x route allocation error
paths
dmaengine: ti: k3-udma: fix device leak on udma lookup
drivers/dma/at_hdmac.c | 9 ++++++--
drivers/dma/bcm-sba-raid.c | 6 +++++-
drivers/dma/cv1800b-dmamux.c | 17 +++++++++-------
drivers/dma/dw/rzn1-dmamux.c | 4 +++-
drivers/dma/idxd/compat.c | 23 +++++++++++++++++----
drivers/dma/lpc18xx-dmamux.c | 19 ++++++++++++-----
drivers/dma/lpc32xx-dmamux.c | 19 ++++++++++++-----
drivers/dma/sh/rz-dmac.c | 13 ++++++++++--
drivers/dma/stm32/stm32-dmamux.c | 31 +++++++++++++++++-----------
drivers/dma/ti/dma-crossbar.c | 35 ++++++++++++++++++--------------
drivers/dma/ti/k3-udma-private.c | 2 +-
11 files changed, 123 insertions(+), 55 deletions(-)
--
2.51.0