[lvc-project] Re: [PATCH v2] RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()

Leon Romanovsky leon at kernel.org
Mon Feb 6 16:58:54 MSK 2023


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 at kernel.org>



More information about the lvc-project mailing list