Re: [PATCH] ANDROID: binder: prevent transactions into own process.

From: Greg KH
Date: Wed Mar 28 2018 - 04:19:35 EST


On Wed, Mar 28, 2018 at 09:29:03AM +0200, Martijn Coenen wrote:
> This can't happen with normal nodes (because you can't get a ref
> to a node you own), but it could happen with the context manager;
> to make the behavior consistent with regular nodes, reject
> transactions into the context manager by the process owning it.
>
> Reported-by: syzbot+09e05aba06723a94d43d@xxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Martijn Coenen <maco@xxxxxxxxxxx>

Does this need to go to older kernels as well?

I have a script that picks up everything the syzbot finds and tries to
backport them, after they are applied in Linus's tree. Might as well
catch things before we have to rely on my script :)

thanks,

greg k-h