Buffer over-read in Linux kernel - CVE-2018-16658

 

Buffer over-read in Linux kernel - CVE-2018-16658

Published: October 23, 2018 / Updated: May 30, 2020


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

Vulnerability details

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition in cdrom_ioctl_drive_status() function in drivers/cdrom/cdrom.c. A local unprivileged user can create a specially crafted application, trigger out-of-bounds read error and read contents of kernel memory.


Affected software

Linux kernel
Amazon Linux AMI
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for ARM 64
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 Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Real Time
Opensuse
Fedora

kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-alt (Red Hat package)
kernel
kernel-headers
kernel-tools
Red Hat Virtualization Host

How to mitigate CVE-2018-16658

Install updates from vendor's website.

Linux kernel - addressed in versions 4.2, 4.4.164, 4.9.138, 4.14.82, 4.18.20, 4.19.3
kernel (Red Hat package) - update to 3.10.0-1062.el7
kernel-rt (Red Hat package) - update to 3.10.0-1062.rt56.1022.el7
kernel-alt (Red Hat package) - update to 4.14.0-115.16.1.el7a
kernel - update to 4.18.7-200.fc28
kernel-headers - update to 4.18.7-200.fc28
kernel-tools - update to 4.18.7-200.fc28

External References

Related Security Bulletins