[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200520001045.GA31189@ziepe.ca>
Date: Tue, 19 May 2020 21:10:45 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Divya Indi <divya.indi@...cle.com>
Cc: linux-kernel@...r.kernel.org, linux-rdma@...r.kernel.org,
Kaike Wan <kaike.wan@...el.com>,
Gerd Rausch <gerd.rausch@...cle.com>,
HÃ¥kon Bugge <haakon.bugge@...cle.com>,
Srinivas Eeda <srinivas.eeda@...cle.com>,
Rama Nichanamatlu <rama.nichanamatlu@...cle.com>,
Doug Ledford <dledford@...hat.com>
Subject: Re: [PATCH 1/2] IB/sa: Resolving use-after-free in ib_nl_send_msg.
On Tue, May 19, 2020 at 04:30:52PM -0700, Divya Indi wrote:
> Hi Jason,
>
> I wanted to follow up to see if you got a chance to review the following reply?
Not yet, it still seems bad to be doing code like this.
If two threads are sharing memory they really need to use a
refcount/kref not rely on some sketchy thing with flags. It is very
hard to tell if the sketchy thing with flags is correct or not.
Jason
Powered by blists - more mailing lists