Double-free memory error in Linux kernel - CVE-2018-10902

 

Double-free memory error in Linux kernel - CVE-2018-10902

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


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

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to double-free memory error in snd_rawmidi_input_params() and snd_rawmidi_output_status() in 'rawmidi.c'. A local attacker can gain elevated privileges and execute arbitrary code.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Linux kernel
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
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 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

MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-alt (Red Hat package)
Data Computing Appliance (DCA)

How to mitigate CVE-2018-10902

Install update from vendor's website.

Linux kernel - update to 4.17.15
kernel (Red Hat package) - addressed in versions 2.6.32-754.11.1.el6, 3.10.0-862.44.2.el7
kernel-rt (Red Hat package) - update to 3.10.0-693.46.1.rt56.639.el6rt
Data Computing Appliance (DCA) - update to 3.5.3.0
kernel-alt (Red Hat package) - update to 4.14.0-115.14.1.el7a

External References

Related Security Bulletins