Re: [PATCH v3] dmaengine: ti: k3-udma-glue: fix NULL dereference in k3_udma_glue_release_rx_chn()

From: Vinod Koul

Date: Thu Sep 03 2026 - 12:39:53 EST



On Wed, 12 Aug 2026 08:34:26 +0300, Alexander.Chesnokov@xxxxxxxxxxxxx wrote:
> If devm_kcalloc() for rx_chn->flows fails in a channel request function,
> the error path calls k3_udma_glue_release_rx_chn(), which dereferences
> the NULL rx_chn->flows pointer in k3_udma_glue_release_rx_flow().
>
> Skip the flow release loop in k3_udma_glue_release_rx_chn() when
> rx_chn->flows is not allocated.
>
> [...]

Applied, thanks!

[1/1] dmaengine: ti: k3-udma-glue: fix NULL dereference in k3_udma_glue_release_rx_chn()
commit: 0294b6dd515256c03ea2dbf508ddd3826d788579

Best regards,
--
~Vinod