summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWenkai Lin <linwenkai6@hisilicon.com>2026-03-21 15:00:38 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2026-03-27 18:52:44 +0900
commit67b53a660e6bf0da2fa8d8872e897a14d8059eaf (patch)
tree1461c9296eaf8a1166fe293a8f4b70beded4cde8 /tools/perf/scripts/python/stackcollapse.py
parent07fa25957a18cff13f1943ecd213c88c0878b968 (diff)
crypto: hisilicon/sec2 - prevent req used-after-free for sec
During packet transmission, if the system is under heavy load, the hardware might complete processing the packet and free the request memory (req) before the transmission function finishes. If the software subsequently accesses this req, a use-after-free error will occur. The qp_ctx memory exists throughout the packet sending process, so replace the req with the qp_ctx. Fixes: f0ae287c5045 ("crypto: hisilicon/sec2 - implement full backlog mode for sec") Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com> Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions