aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorNikita Zhandarovich <n.zhandarovich@fintech.ru>2023-02-02 10:48:50 -0800
committerLeon Romanovsky <leon@kernel.org>2023-02-06 15:56:32 +0200
commit283861a4c52c1ea4df3dd1b6fc75a50796ce3524 (patch)
tree5dc5d60282cd8c6fc6fc7acca9214523202bb5d8 /tools/perf/scripts/python/bin/stackcollapse-record
parentRDMA/mlx5: Remove impossible check of mkey cache cleanup failure (diff)
downloadlinux-283861a4c52c1ea4df3dd1b6fc75a50796ce3524.tar.gz
linux-283861a4c52c1ea4df3dd1b6fc75a50796ce3524.zip
RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()
If get_ep_from_tid() fails to lookup non-NULL value for ep, ep is dereferenced later regardless of whether it is empty. This patch adds a simple sanity check to fix the issue. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 944661dd97f4 ("RDMA/iw_cxgb4: atomically lookup ep and get a reference") Signed-off-by: Nikita Zhandarovich <n.zhandarovich@fintech.ru> Link: https://lore.kernel.org/r/20230202184850.29882-1-n.zhandarovich@fintech.ru Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions