Race condition in Linux kernel - CVE-2017-6001

 

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

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.

How to mitigate CVE-2017-6001

Update to version 4.9.7.

Sources