Fix event->ctx locking in kernel-perf CVE-2016-6786 CVE-2016-6787 CVE-2017-6001 remote

Tracked by Jolla (In progress)

asked 2017-07-13 16:05:44 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2017-09-27 16:17:28 +0300

lpr gravatar image

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 30955111. CVSS v3 Base Score: 7.0 High Access Vector: Locally exploitable

Fix concurrent sys_perf_event_open() vs. 'move_group' race

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. 7.0high (attack range: remote)

upstream-Patch |1| |2| and kernel-3.2-backport |1| |2| available, so fix for kernel-3.4-sbj will need the appropriate of each...

file affected: /kernel-adaptation-sbj-3.4.108.20161101.1/kernel/events/core.c

edit retag flag offensive close delete