The cdromioctlmediachanged 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 CDROMMEDIA_CHANGED ioctl to read out kernel memory.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10940.json"
[
{
"id": "CVE-2018-10940-58f18661",
"target": {
"function": "cdrom_ioctl_media_changed",
"file": "drivers/cdrom/cdrom.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9de4ee40547fd315d4a0ed1dd15a2fa3559ad707",
"digest": {
"function_hash": "202807179520855200764216597356431291058",
"length": 578.0
},
"signature_type": "Function"
},
{
"id": "CVE-2018-10940-6a18f682",
"target": {
"file": "drivers/cdrom/cdrom.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9de4ee40547fd315d4a0ed1dd15a2fa3559ad707",
"digest": {
"threshold": 0.9,
"line_hashes": [
"68548507211981868204795353588951547328",
"146888397499180174071508854418132639747",
"35560585963420313851996966751719862418",
"113980690318287117221833777562101605650"
]
},
"signature_type": "Line"
}
]