summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Chesnokov <Alexander.Chesnokov@kaspersky.com>2026-08-12 08:34:26 +0300
committerVinod Koul <vkoul@kernel.org>2026-09-03 21:24:48 +0530
commit0294b6dd515256c03ea2dbf508ddd3826d788579 (patch)
tree8c3225964df37c1a56c9ecf6e005d25aeb38f354 /tools/perf/scripts/python
parentd1fc569fcbc7be6de06b034cf954a95e30ca1fb2 (diff)
downloadlinux-next-0294b6dd515256c03ea2dbf508ddd3826d788579.tar.gz
linux-next-0294b6dd515256c03ea2dbf508ddd3826d788579.zip
dmaengine: ti: k3-udma-glue: fix NULL dereference in k3_udma_glue_release_rx_chn()
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. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: d70241913413 ("dmaengine: ti: k3-udma: Add glue layer for non DMAengine users") Cc: stable@vger.kernel.org Reported-by: Pavel Zhigulin <Pavel.Zhigulin@kaspersky.com> Signed-off-by: Alexander Chesnokov <Alexander.Chesnokov@kaspersky.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260812053426.3521589-1-Alexander.Chesnokov@kaspersky.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions