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.
git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=321027c1fe77f892f4ea07846aeae08cefbbb290
www.debian.org/security/2017/dsa-3791
www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.7
www.openwall.com/lists/oss-security/2017/02/16/1
www.securityfocus.com/bid/96264
access.redhat.com/errata/RHSA-2017:1842
access.redhat.com/errata/RHSA-2017:2077
access.redhat.com/errata/RHSA-2017:2669
access.redhat.com/errata/RHSA-2018:1854
bugzilla.redhat.com/show_bug.cgi?id=1422825
github.com/torvalds/linux/commit/321027c1fe77f892f4ea07846aeae08cefbbb290
source.android.com/security/bulletin/pixel/2017-11-01