[PATCH 36/37] binder: fix death race conditions

Greg KH gregkh at linuxfoundation.org
Fri Jun 30 06:05:01 UTC 2017


On Thu, Jun 29, 2017 at 12:02:10PM -0700, Todd Kjos wrote:
> From: Martijn Coenen <maco at google.com>
> 
> A race existed where one thread could register
> a death notification for a node, while another
> thread was cleaning up that node and sending
> out death notifications for its references,
> causing simultaneous access to ref->death
> because different locks were held.
> 
> Signed-off-by: Martijn Coenen <maco at google.com>

Note, if you forward on a patch from someone else, like this, you should
also put your signed-off-by: on it, as you hopefully are agreeing that
it is ok to forward on.

thanks,

greg k-h


More information about the devel mailing list