aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorChengchang Tang <[email protected]>2024-04-12 17:16:11 +0800
committerLeon Romanovsky <[email protected]>2024-04-16 15:06:47 +0300
commita942ec2745ca864cd8512142100e4027dc306a42 (patch)
treea836057d376476f345ab55df64b701c0df56d900 /tools/perf/scripts/python/task-analyzer.py
parentb46494b6f9c19f141114a57729e198698f40af37 (diff)
RDMA/hns: Fix UAF for cq async event
The refcount of CQ is not protected by locks. When CQ asynchronous events and CQ destruction are concurrent, CQ may have been released, which will cause UAF. Use the xa_lock() to protect the CQ refcount. Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver") Signed-off-by: Chengchang Tang <[email protected]> Signed-off-by: Junxian Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions