summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-08-16 18:54:42 -0700
committerVinod Koul <vkoul@kernel.org>2026-09-10 17:38:30 +0530
commit140ebb6d10559a7d2d0c597926f1bfacf03c9f29 (patch)
tree3b5ab786cbe6cd227387476299804f15c135ef33 /tools/perf/scripts/python/stackcollapse.py
parenta5f8e3471fc20567df888267885dec3eb340eb37 (diff)
downloadlinux-next-140ebb6d10559a7d2d0c597926f1bfacf03c9f29.tar.gz
linux-next-140ebb6d10559a7d2d0c597926f1bfacf03c9f29.zip
dmaengine: bestcomm: set bcom_eng to NULL on probe failure
Functions like bcom_task_alloc() use if (!bcom_eng) as a safety readiness check. If the probe fails and hits this error path, subsequent or concurrent API calls will bypass the check and dereference the freed memory. Fixes: 9560aea4e9d1 ("[POWERPC] mpc5200: Fix null dereference if bestcomm fails to initialize") Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260817015442.136038-1-rosenp@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions