[lvc-project] [PATCH v3] dmaengine: ti: k3-udma-glue: fix NULL dereference in k3_udma_glue_release_rx_chn()
Vinod Koul
vkoul at kernel.org
Thu Sep 3 19:29:27 MSK 2026
On Wed, 12 Aug 2026 08:34:26 +0300, Alexander.Chesnokov at kaspersky.com 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
More information about the lvc-project
mailing list