summaryrefslogtreecommitdiff
path: root/tools/perf/python/stackcollapse.py
diff options
context:
space:
mode:
authorLinus Walleij <linusw@kernel.org>2026-09-27 11:03:36 +0200
committerVinod Koul <vkoul@kernel.org>2026-10-05 17:39:02 +0200
commit884e01160bc727509b4fdf04e763a86b936df464 (patch)
treef5eb1e9d60967af131523254a89278693863c4d4 /tools/perf/python/stackcollapse.py
parentb36f8fce7314fed53563c60e683ff86deb8a51ae (diff)
downloadlinux-next-884e01160bc727509b4fdf04e763a86b936df464.tar.gz
linux-next-884e01160bc727509b4fdf04e763a86b936df464.zip
dmaengine: ste_dma40: Validate fixed physical channel indexes
Fixed physical memcpy allocation uses dma_cfg.phy_channel directly as an index into phy_res when use_fixed_channel is set. d40_validate_conf() validates dev_type but not the fixed physical channel, allowing an invalid configuration to access memory outside the array. Validate the fixed physical channel centrally before accepting the channel configuration. Fixes: f000df8c5a0e ("dmaengine: ste_dma40: support fixed physical channel allocation") Reported-by: sashiko-bot@kernel.org Closes: https://lore.kernel.org/dmaengine/20260819225008.5F9651F000E9@smtp.kernel.org/ Assisted-by: LLM Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260927-dma40-fixes-v7-23-89f595e8851d@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions