CVE-2018-10940
Vulnerability Summary
Timeline
Description
The cdrom_ioctl_media_changed function in drivers/cdrom/cdrom.c in the Linux kernel before 4.16.6 allows local attackers to use a incorrect bounds check in the CDROM driver CDROM_MEDIA_CHANGED ioctl to read out kernel memory.
CVSS Metrics
- v3.0•MEDIUM•Score: 5.5CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 4.9AV:L/AC:L/Au:N/C:N/I:N/A:C
EPSS Trends
Current EPSS score: 0.54%• Percentile: 44%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- debian•linux
< 4.16.12-1 | < 4.16.12-1 | < 4.16.12-1 | < 4.16.12-1
- ubuntu•linux
< 3.13.0-157.207 | < 4.4.0-128.154 | < 4.15.0-24.26
- ubuntu•linux-aws
< 4.4.0-1023.23 | < 4.4.0-1061.70 | < 4.15.0-1011.11
- ubuntu•linux-azure
< 4.15.0-1014.14~16.04.1 | < 4.15.0-1014.14
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fde-5.15
all
- ubuntu•linux-fips
< 4.4.0-1008.10
- ubuntu•linux-gcp
< 4.15.0-1014.14~16.04.1 | < 4.15.0-1010.10
- ubuntu•linux-gcp-6.11
all
- ubuntu•linux-gke
all
- ubuntu•linux-hwe
< 4.15.0-24.26~16.04.1
- ubuntu•linux-hwe-6.11
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1027.32 | < 4.15.0-1012.12
- ubuntu•linux-lowlatency-hwe-6.11
all
- ubuntu•linux-lts-xenial
< 4.4.0-128.154~14.04.1
- ubuntu•linux-oem
< 4.15.0-1009.12
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.4.0-1091.99 | < 4.15.0-1013.14 | all
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
all | all
- ubuntu•linux-snapdragon
< 4.4.0-1094.99
- debian•debian_linux
7.0
- linux•linux_kernel
< 4.16.6
References (24)
- https://usn.ubuntu.com/3676-1/
- https://access.redhat.com/errata/RHSA-2018:3083
- https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html
- https://usn.ubuntu.com/3695-1/
- https://usn.ubuntu.com/3695-2/
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9de4ee40547fd315d4a0ed1dd15a2fa3559ad707
- https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html
- https://lists.debian.org/debian-lts-announce/2018/06/msg00000.html
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.6
- https://usn.ubuntu.com/3754-1/
- https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html
- https://access.redhat.com/errata/RHSA-2018:2948
- https://github.com/torvalds/linux/commit/9de4ee40547fd315d4a0ed1dd15a2fa3559ad707
- https://usn.ubuntu.com/3676-2/
- http://www.securityfocus.com/bid/104154
- https://access.redhat.com/errata/RHSA-2018:3096
- https://ubuntu.com/security/CVE-2018-10940
- https://ubuntu.com/security/notices/USN-3676-1
- https://ubuntu.com/security/notices/USN-3676-2
- https://ubuntu.com/security/notices/USN-3695-1
- https://ubuntu.com/security/notices/USN-3695-2
- https://ubuntu.com/security/notices/USN-3754-1
- https://www.cve.org/CVERecord?id=CVE-2018-10940
- https://security-tracker.debian.org/tracker/CVE-2018-10940