Re: [PATCH rdma-next] RDMA/odp: Fix use-after-free bug in releasing ucontext

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 05, 2018 at 05:21:37PM -0600, Jason Gunthorpe wrote:

> Instead hold on to the actual mm directly inside the umme via mmgrab()
> and mmdrop(), just like mmu_notifiers already does internally.

I coded up a series to do this, and more:

https://github.com/jgunthorpe/linux/commits/tgid_removal

I'll try to test it later, but it is the general idea.. ucontext->tgid
is an abomination and needs to be deleted.

Have to do some testing on it..

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux