On Thu, 02 Feb 2023 10:48:50 -0800, Nikita Zhandarovich wrote: > 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. > > > [...] Applied, thanks! [1/1] RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish() https://git.kernel.org/rdma/rdma/c/283861a4c52c1e Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>