[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172593129267.13781.9847171739560045999.b4-ty@kernel.dk>
Date: Mon, 09 Sep 2024 19:21:32 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Philipp Reisner <philipp.reisner@...bit.com>,
Mikhail Lobanov <m.lobanov@...alinux.ru>
Cc: Lars Ellenberg <lars.ellenberg@...bit.com>, drbd-dev@...ts.linbit.com,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, stable@...r.kernel.org
Subject: Re: [PATCH] drbd: Add NULL check for net_conf to prevent
dereference in state validation
On Mon, 09 Sep 2024 09:37:36 -0400, Mikhail Lobanov wrote:
> If the net_conf pointer is NULL and the code attempts to access its
> fields without a check, it will lead to a null pointer dereference.
> Add a NULL check before dereferencing the pointer.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
>
> [...]
Applied, thanks!
[1/1] drbd: Add NULL check for net_conf to prevent dereference in state validation
commit: de068f4741781bbba0568b44b41d51da0feef6f9
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists