Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows local users to gain privileges via a crafted application that makes concurrent perf_event_open system calls for moving a software group into a hardware context. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-6786.
https://source.android.com/security/bulletin/pixel/2017-11-01
https://github.com/torvalds/linux/commit/321027c1fe77f892f4ea07846aeae08cefbbb290
https://bugzilla.redhat.com/show_bug.cgi?id=1422825
https://access.redhat.com/errata/RHSA-2018:1854
https://access.redhat.com/errata/RHSA-2017:2669
https://access.redhat.com/errata/RHSA-2017:2077
https://access.redhat.com/errata/RHSA-2017:1842
http://www.securityfocus.com/bid/96264
http://www.openwall.com/lists/oss-security/2017/02/16/1
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.7