Memory corruption in Linux kernel - CVE-2018-7566

 

Memory corruption in Linux kernel - CVE-2018-7566

Published: April 2, 2018


Vulnerability identifier: #VU11458
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-7566
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to write arbitrary files on the target system.

The weakness exists due to out-of-bounds write while ALSA sequencer core initializes the event pool on demand by invoking snd_seq_pool_init() when the first write happens and the pool is empty. A local attacker can trigger buffer overflow and use after free and reset the pool size manually via ioctl concurrently and write arbitrary files.

Affected software

Linux kernel
Debian Linux
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux Server - Extended Update Support
SUSE Linux
Ubuntu
MRG Realtime
Red Hat Virtualization Host
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-alt (Red Hat package)

How to mitigate CVE-2018-7566

Install update from vendor's website.

kernel (Red Hat package) - addressed in versions 2.6.32-754.3.5.el6, 3.10.0-693.50.3.el7, 3.10.0-862.11.6.el7
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.50.3.rt56.644.el6rt, 3.10.0-862.11.6.rt56.819.el7
kernel-alt (Red Hat package) - update to 4.14.0-115.el7a

External References

Related Security Bulletins