Use-after-free error in Linux kernel - CVE-2017-18017

 

Use-after-free error in Linux kernel - CVE-2017-18017

Published: February 21, 2018 / Updated: February 22, 2018


Vulnerability identifier: #VU10678
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-18017
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition no the target system.

The weakness exists in the tcpmss_mangle_packet function in net/netfilter/xt_TCPMSS.c in the Linux kernel due to use-after-free error. A remote attacker can leverage the presence of xt_TCPMSS in an iptables action, trigger memory corruption and cause the system to crash.

Affected software

Linux kernel
Debian Linux
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server - Extended Update Support
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 Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
SUSE Linux
Ubuntu

FlashSystem 840 9840-AE1 & 9843-AE1
FlashSystem 900 9843-UF3
FlashSystem 900 9840-AE2 and 9843-AE2
FlashSystem 900 9840-AE3 and 9843-AE3
SAN Volume Controller and Storwize Family
MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Virtualization Host

How to mitigate CVE-2017-18017

Update to version 4.9.36 or 4.11.

kernel (Red Hat package) - addressed in versions 3.10.0-514.51.1.el7, 3.10.0-693.25.2.el7, 3.10.0-862.el7
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.25.2.rt56.612.el6rt, 3.10.0-862.rt56.804.el7
SAN Volume Controller and Storwize Family - addressed in versions 7.8.1.8, 8.1.3.3, 8.2.0.0, 8.2.1.0

External References

Related Security Bulletins