From: Leon Romanovsky <leon@kernel.org>
To: Potnuri Bharat Teja <bharat@chelsio.com>,
Mikhail Lobanov <m.lobanov@rosalinux.ru>
Cc: Jason Gunthorpe <jgg@ziepe.ca>, Roland Dreier <rolandd@cisco.com>,
Steve Wise <larrystevenwise@gmail.com>,
linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
lvc-project@linuxtesting.org
Subject: Re: [PATCH] RDMA/cxgb4: Added NULL check for lookup_atid
Date: Mon, 16 Sep 2024 20:27:15 +0300 [thread overview]
Message-ID: <172650763520.4296.4110173004963203253.b4-ty@kernel.org> (raw)
In-Reply-To: <20240912145844.77516-1-m.lobanov@rosalinux.ru>
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@kernel.org>
prev parent reply other threads:[~2024-09-16 17:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-12 14:58 [PATCH] RDMA/cxgb4: Added NULL check for lookup_atid Mikhail Lobanov
2024-09-16 8:51 ` Leon Romanovsky
2024-09-16 17:27 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=172650763520.4296.4110173004963203253.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=bharat@chelsio.com \
--cc=jgg@ziepe.ca \
--cc=larrystevenwise@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=lvc-project@linuxtesting.org \
--cc=m.lobanov@rosalinux.ru \
--cc=rolandd@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox