summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChengchang Tang <tangchengchang@huawei.com>2024-04-12 12:16:11 +0300
committerLeon Romanovsky <leon@kernel.org>2024-04-16 15:06:47 +0300
commita942ec2745ca864cd8512142100e4027dc306a42 (patch)
treea836057d376476f345ab55df64b701c0df56d900 /tools/perf/scripts/python/export-to-postgresql.py
parentb46494b6f9c19f141114a57729e198698f40af37 (diff)
downloadlinux-a942ec2745ca864cd8512142100e4027dc306a42.tar.xz
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 <tangchengchang@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://lore.kernel.org/r/20240412091616.370789-6-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions