Double Free in Linux kernel - CVE-2017-18595

 

Double Free in Linux kernel - CVE-2017-18595

Published: October 11, 2019


Vulnerability identifier: #VU21716
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-18595
CWE-ID: CWE-415
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges in the system.

The vulnerability exists due to a boundary error within the allocate_trace_buffer() function in the kernel/trace/trace.c. A local user can run a specially crafted application to trigger a double free error and execute arbitrary code on the target system with elevated privileges.


Affected software

Linux kernel
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
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 Virtualization Host - Extended Update Support 4.2 for RHEL
Opensuse
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
kernel-alt (Red Hat package)
IBM MQ Appliance
Data Computing Appliance (DCA)

How to mitigate CVE-2017-18595

Install updates from vendor's website.

Linux kernel - update to 4.14.11
kernel (Red Hat package) - addressed in versions 3.10.0-327.88.1.el7, 3.10.0-514.76.1.el7, 3.10.0-693.67.1.el7, 3.10.0-957.54.1.el7, 3.10.0-1127.8.2.el7
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.67.1.rt56.665.el6rt, 3.10.0-1127.8.2.rt56.1103.el7
IBM MQ Appliance - update to 9.2.0.6
Data Computing Appliance (DCA) - update to 4.2.0.0
kernel-alt (Red Hat package) - update to 4.14.0-115.21.2.el7a

External References

Related Security Bulletins