[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170704000556.17316.1563669837408742257.b4-ty@kernel.org>
Date: Sun, 04 Feb 2024 11:46:45 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Bart Van Assche <bvanassche@....org>, Jason Gunthorpe <jgg@...pe.ca>,
linux-rdma@...r.kernel.org, target-devel@...r.kernel.org,
linux-kernel@...r.kernel.org,
William Kucharski <william.kucharski@...cle.com>
Subject: Re: [PATCH v2 0/1] RDMA/srpt: Do not register event handler until
srpt device is fully setup
On Fri, 02 Feb 2024 02:15:48 -0700, William Kucharski wrote:
> Upon occasion, KASAN testing would report a use-after-free Write in
> srpt_refresh_port().
>
> In the course of trying to diagnose this, I noticed that the code in
> srpt_add_one() registers an event handler for the srpt device and then
> initializes the ports on the device. If any portion of the
> device port initialization fails, it removes the registration for the
> event handler in the error leg.
>
> [...]
Applied, thanks!
[1/1] RDMA/srpt: Do not register event handler until srpt device is fully setup
https://git.kernel.org/rdma/rdma/c/c21a8870c98611
Best regards,
--
Leon Romanovsky <leon@...nel.org>
Powered by blists - more mailing lists