Race condition in Linux kernel - CVE-2017-6001
Published: February 18, 2017 / Updated: February 19, 2017
Vulnerability identifier: #VU5870
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-6001
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to elevate privileges.
The vulnerability is caused by a race condition in kernel/events/core.c file in the Linux kernel before 4.9.7. A local user can send concurrent perf_event_open system calls for moving a software group into a hardware context and execute arbitrary code on the system with elevated privileges.
Successful exploitation of this vulnerability may allow a local user to obtain root privileges.
Note: this vulnerability is caused by an incomplete fix for CVE-2016-6786.
The vulnerability is caused by a race condition in kernel/events/core.c file in the Linux kernel before 4.9.7. A local user can send concurrent perf_event_open system calls for moving a software group into a hardware context and execute arbitrary code on the system with elevated privileges.
Successful exploitation of this vulnerability may allow a local user to obtain root privileges.
Note: this vulnerability is caused by an incomplete fix for CVE-2016-6786.
How to mitigate CVE-2017-6001
Update to version 4.9.7.
Sources
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.7
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=321027c1fe77f892f4ea07846a...
- http://www.openwall.com/lists/oss-security/2017/02/16/1
- https://bugzilla.redhat.com/show_bug.cgi?id=1422825
- https://github.com/torvalds/linux/commit/321027c1fe77f892f4ea07846aeae08cefbbb290