kernel/events/core.c in the performance subsystem in the Linux kernel before 4.0 mismanages locks during certain migrations, which allows local users to gain privileges via a crafted application, aka Android internal bug 31095224.
git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f63a8daa5812afef4f06c962351687e1ff9ccb2b
source.android.com/security/bulletin/2016-12-01.html
www.debian.org/security/2017/dsa-3791
www.securityfocus.com/bid/94679
bugzilla.redhat.com/show_bug.cgi?id=1403842
github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b