Privilege escalation in Linux kernel - CVE-2017-15649

 

Privilege escalation in Linux kernel - CVE-2017-15649

Published: March 15, 2018 / Updated: June 17, 2021


Vulnerability identifier: #VU11119
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-15649
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 on the target system.

The weakness exists in net/packet/af_packet.c due to race condition (involving fanout_add and packet_do_bind. A local attacker can supply specially crafted system calls, trigger mishandling of packet_fanout data structures, trigger use-after-free error and gain root privileges.

Affected software

Linux kernel
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server - 4 Year Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server (for IBM Power LE) - 4 Year Extended Update Support
SUSE Linux
Ubuntu
MRG Realtime
Red Hat Virtualization Host
kernel (Red Hat package)
kernel-rt (Red Hat package)

How to mitigate CVE-2017-15649

Install update from vendor's website.

kernel (Red Hat package) - update to 3.10.0-693.17.1.el7
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.17.1.rt56.604.el6rt, 3.10.0-693.17.1.rt56.636.el7

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins