Use-after-free in Linux kernel - CVE-2018-6555

 

Use-after-free in Linux kernel - CVE-2018-6555

Published: September 10, 2018 / Updated: September 16, 2018


Vulnerability identifier: #VU14735
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-2018-6555
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause denial of service attack or escalate privileges on the system.

The vulnerability exists due to a use-after-free error in irda_setsockopt() function within net/irda/af_irda.c and drivers/staging/irda/net/af_irda.c files when processing data passed to AF_IRDA socket. A local user can trigger a use-after-free error and handle the system unresponsive or execute arbitrary code with elevated privileges.


Affected software

Linux kernel
Debian Linux
Ubuntu
linux (Debian package)
linux (Ubuntu package)
linux-lts-trusty (Ubuntu package)
linux-lts-xenial (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-4.9 (Debian package)
linux-oem (Ubuntu package)

How to mitigate CVE-2018-6555

Install updates from vendor's website.

Linux kernel - addressed in versions 4.4.156, 4.9.127, 4.14.70, 4.17, 4.18.8
linux (Debian package) - addressed in versions 3.16.59-1, 4.9.110-3+deb9u5
linux (Ubuntu package) - addressed in versions 3.13.0-160.210, 4.4.0-137.163, 4.15.0-36.39
linux-lts-trusty (Ubuntu package) - update to 3.13.0-160.210~precise1
linux-lts-xenial (Ubuntu package) - update to 4.4.0-137.163~14.04.1
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1035.41, 4.15.0-1023.23
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1031.34, 4.4.0-1069.79, 4.15.0-1023.23
linux-snapdragon (Ubuntu package) - update to 4.4.0-1102.107
linux-hwe (Ubuntu package) - update to 4.15.0-36.39~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1021.22~16.04.1, 4.15.0-1021.22
linux-4.9 (Debian package) - update to 4.9.110-3+deb9u5~deb8u1
linux-oem (Ubuntu package) - update to 4.15.0-1021.24

External References

Related Security Bulletins