Information disclosure in Linux kernel - CVE-2018-10940
Published: June 15, 2018 / Updated: May 30, 2020
Vulnerability details
The vulnerability allows a local attacker to obtain potentially sensitive information.
The vulnerability exists in the cdrom_ioctl_media_changed function due to incorrect bounds check in the CDROM driver CDROM_MEDIA_CHANGED IOCTL. A local attacker can execute a file or program that submits malicious input to the targeted system, trigger memory corruption and access sensitive kernel information, which could be used to conduct further attacks.
Affected software
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for IBM System z (Structure A)
Ubuntu
Opensuse
linux (Ubuntu package)
linux-lts-xenial (Ubuntu package)
linux-aws (Ubuntu package)
linux-kvm (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-azure (Ubuntu package)
linux-oem (Ubuntu package)
linux-gcp (Ubuntu package)
kernel-alt (Red Hat package)
How to mitigate CVE-2018-10940
linux (Ubuntu package) - addressed in versions 4.4.0-128.154, 4.15.0-24.26
linux-lts-xenial (Ubuntu package) - update to 4.4.0-128.154~14.04.1
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1023.23, 4.4.0-1061.70, 4.15.0-1011.11
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1027.32, 4.15.0-1012.12
linux-snapdragon (Ubuntu package) - update to 4.4.0-1094.99
linux-hwe (Ubuntu package) - update to 4.15.0-24.26~16.04.1
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1014.14~16.04.1, 4.15.0-1014.14
linux-oem (Ubuntu package) - update to 4.15.0-1009.12
linux-gcp (Ubuntu package) - update to 4.15.0-1010.10
kernel-alt (Red Hat package) - update to 4.14.0-115.el7a
External References
- https://github.com/torvalds/linux/commit/9de4ee40547fd315d4a0ed1dd15a2fa3559ad707
- 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
Related Security Bulletins
- Information disclosure in Linux Kernel
- OpenSUSE Linux update for the Linux Kernel
- OpenSUSE Linux update for the Linux Kernel
- Red Hat Enterprise Linux 7 update for kernel-alt
- Ubuntu update for linux, linux-aws, linux-kvm and more
- Ubuntu update for linux, linux-aws, linux-azure and more
- Ubuntu update for linux-aws, linux-lts-xenial
- Ubuntu update for linux-azure, linux-hwe