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: 8.5 [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]
CVE-ID: CVE-2017-6001
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.

Affected software

Linux kernel
Debian Linux
linux (Debian package)

How to mitigate CVE-2017-6001

Update to version 4.9.7.

linux (Debian package) - addressed in versions 3.2.84-2, 3.16.39-1+deb8u1

External References

Related Security Bulletins