Race condition in Linux kernel - CVE-2017-10661

 

Race condition in Linux kernel - CVE-2017-10661

Published: December 19, 2017 / Updated: June 17, 2021


Vulnerability identifier: #VU9693
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-10661
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges or cause DoS condition on the target system.

The weakness exists due to race condition in fs/timerfd.c in the Linux kernel. A local attacker can use simultaneous file-descriptor operations, leverage improper might_cancel queueing, trigger list corruption or use-after-free and cause the service to crash or execute arbitrary code with root privileges.

Affected software

Linux kernel
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
SUSE Linux
Ubuntu

MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Traffix SDC
BIG-IQ Centralized Management
BIG-IP SSLO
BIG-IP
BIG-IP DDHD
BIG-IP Link Controller
BIG-IP AAM
BIG-IP DNS
BIG-IP LTM
BIG-IP PEM
BIG-IP GTM
BIG-IP FPS
BIG-IP AFM
BIG-IP APM
BIG-IP ASM
BIG-IP Analytics
BIG-IP Advanced WAF

How to mitigate CVE-2017-10661

Update to version 4.10.15.

kernel (Red Hat package) - addressed in versions 3.10.0-693.61.1.el7, 3.10.0-862.46.1.el7
kernel-rt (Red Hat package) - update to 3.10.0-693.61.1.rt56.656.el6rt

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins