Out-of-bounds write in Linux kernel - CVE-2017-17558
Published: December 26, 2017
Vulnerability identifier: #VU9771
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-17558
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local attacker to cause DoS condition on the target system.
The weakness exists due to the usb_destroy_configuration function in drivers/usb/core/config.c in the USB core subsystem in the Linux kernel does not consider the maximum number of configurations and interfaces before attempting to release resources. A local attacker can supply specially crafted USB device, trigger out-of-bounds write access and cause the system to crash.
Successful exploitation of the vulnerability results in denial of service.
The weakness exists due to the usb_destroy_configuration function in drivers/usb/core/config.c in the USB core subsystem in the Linux kernel does not consider the maximum number of configurations and interfaces before attempting to release resources. A local attacker can supply specially crafted USB device, trigger out-of-bounds write access and cause the system to crash.
Successful exploitation of the vulnerability results in denial of service.
Affected software
Linux kernel
Debian Linux
Arch Linux
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
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 for Real Time for NFV
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux Server - Extended Update Support
SUSE Linux
Fedora
MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel
Red Hat Virtualization Host
Debian Linux
Arch Linux
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
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 for Real Time for NFV
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux Server - Extended Update Support
SUSE Linux
Fedora
MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel
Red Hat Virtualization Host
How to mitigate CVE-2017-17558
Update to version 4.14.5.
kernel (Red Hat package) - addressed in versions 3.10.0-693.47.2.el7, 3.10.0-862.el7
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.47.2.rt56.641.el6rt, 3.10.0-862.rt56.804.el7
kernel - addressed in versions 4.14.6-200.fc26, 4.14.6-300.fc27
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.47.2.rt56.641.el6rt, 3.10.0-862.rt56.804.el7
kernel - addressed in versions 4.14.6-200.fc26, 4.14.6-300.fc27
External References
Related Security Bulletins
- Debian update for linux
- Debian update for linux
- Arch Linux update for linux-lts
- Red Hat update for kernel
- Red Hat update for kernel-rt
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- SUSE Linux update for the Linux Kernel
- Arch Linux update for linux-zen
- Red Hat Enterprise Linux 7.4 Extended Update Support update for kernel
- Red Hat Enterprise MRG 2 update for kernel-rt
- Fedora 27 update for kernel
- Fedora 26 update for kernel