]> git.baikalelectronics.ru Git - kernel.git/commit
ANDROID: binder: synchronize_rcu() when using POLLFREE.
authorMartijn Coenen <maco@android.com>
Fri, 16 Feb 2018 08:47:15 +0000 (09:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 10:16:38 +0000 (11:16 +0100)
commit87cbe1bdb938ccc58de5f464205c3d8e7b1383f7
tree86ee4c41c581810a860fc963293da1bed7724798
parent6e480c55dd915c00194913e8b71788c67c01704b
ANDROID: binder: synchronize_rcu() when using POLLFREE.

To prevent races with ep_remove_waitqueue() removing the
waitqueue at the same time.

Reported-by: syzbot+a2a3c4909716e271487e@syzkaller.appspotmail.com
Signed-off-by: Martijn Coenen <maco@android.com>
Cc: stable <stable@vger.kernel.org> # 4.14+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c