Buffer over-read in Linux kernel - CVE-2018-16658
Published: October 23, 2018 / Updated: May 30, 2020
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
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
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
- https://github.com/torvalds/linux/commit/8f3fafc9c2f0ece10832c25f7ffcb07c97a32ad4
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.6
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.20
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.138
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.164
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.3
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.20
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.82