[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <63b37fec-3b32-dbd0-175f-ab7f6aa3dbdf@fujitsu.com>
Date: Wed, 27 Jul 2022 03:24:36 +0000
From: "lizhijian@...itsu.com" <lizhijian@...itsu.com>
To: Bart Van Assche <bvanassche@....org>,
Hillf Danton <hdanton@...a.com>
CC: Mike Christie <michael.christie@...cle.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Leon Romanovsky <leon@...nel.org>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"target-devel@...r.kernel.org" <target-devel@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: use-after-free in srpt_enable_tpg()
Bart,
On 05/07/2022 12:34, Bart Van Assche wrote:
>
> A potential solution could be to decouple the lifetimes of the data structures used for configfs (struct se_wwn and struct srpt_tpg) and the data structures associated with RDMA objects (struct srpt_port). If nobody else beats me to this I will try to find the time to implement this approach.
I saw your approach this morning, i will have a look and tests later.
Thanks
Zhijian
Powered by blists - more mailing lists