summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJia Wang <wangjia@ultrarisc.com>2026-09-02 17:26:12 +0800
committerVinod Koul <vkoul@kernel.org>2026-09-10 19:27:22 +0530
commite6b49f8016ee8b642e8e495d1704342ee0b35d72 (patch)
tree63888efe7e27e6a5fbae37eb026c631fd6738fd6 /tools/perf/scripts/python
parent0d59891c42e11c3840276d8a632dbc355d6ddc4f (diff)
downloadlinux-next-e6b49f8016ee8b642e8e495d1704342ee0b35d72.tar.gz
linux-next-e6b49f8016ee8b642e8e495d1704342ee0b35d72.zip
dmaengine: dw-axi-dmac: Fix LLI dump out-of-bounds access
axi_chan_list_dump_lli() uses the channel-wide descs_allocated count to walk the hw_desc[] array of a single transaction. If multiple transactions have allocated LLIs, the channel count can exceed the transaction-local nr_hw_descs and make the DMA error path read past the end of hw_desc[]. Use the descriptor-local nr_hw_descs count when dumping LLIs. Fixes: ef6fb2d6f1ab ("dmaengine: dw-axi-dmac: simplify descriptor management") Signed-off-by: Jia Wang <wangjia@ultrarisc.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260902-dma-fix-v3-2-414c6449fbcc@ultrarisc.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions