{"id":"CVE-2018-10940","state":"PUBLISHED","title":"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_M","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.","publishedAt":"2018-05-09T17:00:00.000Z","updatedAt":"2024-08-05T07:54:35.969Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:10.244Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/10xxx/CVE-2018-10940.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-10940","state":"PUBLISHED","datePublished":"2018-05-09T17:00:00.000Z","dateUpdated":"2024-08-05T07:54:35.969Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-05-09T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://usn.ubuntu.com/3676-1/","name":"USN-3676-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3083","name":"RHSA-2018:3083","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html","name":"[debian-lts-announce] 20180714 [SECURITY] [DLA 1422-1] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/3695-1/","name":"USN-3695-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3695-2/","name":"USN-3695-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9de4ee40547fd315d4a0ed1dd15a2fa3559ad707","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html","name":"[debian-lts-announce] 20180715 [SECURITY] [DLA 1422-2] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00000.html","name":"[debian-lts-announce] 20180601 [SECURITY] [DLA 1392-1] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.6","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3754-1/","name":"USN-3754-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html","name":"[debian-lts-announce] 20180718 [SECURITY] [DLA 1423-1] linux-4.9 new package","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2948","name":"RHSA-2018:2948","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/torvalds/linux/commit/9de4ee40547fd315d4a0ed1dd15a2fa3559ad707","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3676-2/","name":"USN-3676-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/104154","name":"104154","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3096","name":"RHSA-2018:3096","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-31T09:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-05-09T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-10940","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"USN-3676-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3676-1/"},{"name":"RHSA-2018:3083","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3083"},{"name":"[debian-lts-announce] 20180714 [SECURITY] [DLA 1422-1] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html"},{"name":"USN-3695-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3695-1/"},{"name":"USN-3695-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3695-2/"},{"name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9de4ee40547fd315d4a0ed1dd15a2fa3559ad707","refsource":"MISC","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9de4ee40547fd315d4a0ed1dd15a2fa3559ad707"},{"name":"[debian-lts-announce] 20180715 [SECURITY] [DLA 1422-2] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html"},{"name":"[debian-lts-announce] 20180601 [SECURITY] [DLA 1392-1] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00000.html"},{"name":"https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.6","refsource":"MISC","url":"https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.6"},{"name":"USN-3754-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3754-1/"},{"name":"[debian-lts-announce] 20180718 [SECURITY] [DLA 1423-1] linux-4.9 new package","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html"},{"name":"RHSA-2018:2948","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:2948"},{"name":"https://github.com/torvalds/linux/commit/9de4ee40547fd315d4a0ed1dd15a2fa3559ad707","refsource":"MISC","url":"https://github.com/torvalds/linux/commit/9de4ee40547fd315d4a0ed1dd15a2fa3559ad707"},{"name":"USN-3676-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3676-2/"},{"name":"104154","refsource":"BID","url":"http://www.securityfocus.com/bid/104154"},{"name":"RHSA-2018:3096","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3096"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://usn.ubuntu.com/3676-1/","name":"USN-3676-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3083","name":"RHSA-2018:3083","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html","name":"[debian-lts-announce] 20180714 [SECURITY] [DLA 1422-1] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://usn.ubuntu.com/3695-1/","name":"USN-3695-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3695-2/","name":"USN-3695-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9de4ee40547fd315d4a0ed1dd15a2fa3559ad707","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html","name":"[debian-lts-announce] 20180715 [SECURITY] [DLA 1422-2] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00000.html","name":"[debian-lts-announce] 20180601 [SECURITY] [DLA 1392-1] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.16.6","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/3754-1/","name":"USN-3754-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html","name":"[debian-lts-announce] 20180718 [SECURITY] [DLA 1423-1] linux-4.9 new package","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2948","name":"RHSA-2018:2948","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://github.com/torvalds/linux/commit/9de4ee40547fd315d4a0ed1dd15a2fa3559ad707","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/3676-2/","name":"USN-3676-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securityfocus.com/bid/104154","name":"104154","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3096","name":"RHSA-2018:3096","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T07:54:35.969Z"}}]}}}