[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172650763520.4296.4110173004963203253.b4-ty@kernel.org>
Date: Mon, 16 Sep 2024 20:27:15 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Potnuri Bharat Teja <bharat@...lsio.com>,
Mikhail Lobanov <m.lobanov@...alinux.ru>
Cc: Jason Gunthorpe <jgg@...pe.ca>, Roland Dreier <rolandd@...co.com>,
Steve Wise <larrystevenwise@...il.com>, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org
Subject: Re: [PATCH] RDMA/cxgb4: Added NULL check for lookup_atid
On Thu, 12 Sep 2024 10:58:39 -0400, Mikhail Lobanov wrote:
> The lookup_atid() function can return NULL if the ATID is
> invalid or does not exist in the identifier table, which
> could lead to dereferencing a null pointer without a
> check in the `act_establish()` and `act_open_rpl()` functions.
> Add a NULL check to prevent null pointer dereferencing.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> [...]
Applied, thanks!
[1/1] RDMA/cxgb4: Added NULL check for lookup_atid
https://git.kernel.org/rdma/rdma/c/e766e6a92410ca
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists