An issue was discovered in the Linux kernel before 4.18.6. An information leak in cdromioctldrive_status in drivers/cdrom/cdrom.c could be used by local attackers to read kernel memory because a cast from unsigned long to int interferes with bounds checking. This is similar to CVE-2018-10940.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-16658.json"
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8f3fafc9c2f0ece10832c25f7ffcb07c97a32ad4",
"signature_type": "Line",
"digest": {
"line_hashes": [
"59882787446580534645138537252142091219",
"6905010136628044391933546674317243439",
"172628892958148109007190018578528900009",
"325435050577780514985588022226831843814"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/cdrom/cdrom.c"
},
"id": "CVE-2018-16658-469f8913",
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@8f3fafc9c2f0ece10832c25f7ffcb07c97a32ad4",
"signature_type": "Function",
"digest": {
"function_hash": "274157669296529304865332066007098348421",
"length": 458.0
},
"deprecated": false,
"target": {
"file": "drivers/cdrom/cdrom.c",
"function": "cdrom_ioctl_drive_status"
},
"id": "CVE-2018-16658-c6aae2e6",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-16658.json"
[
{
"source": "https://github.com/torvalds/linux/commit/8f3fafc9c2f0ece10832c25f7ffcb07c97a32ad4",
"signature_type": "Function",
"digest": {
"function_hash": "274157669296529304865332066007098348421",
"length": 458.0
},
"deprecated": false,
"target": {
"file": "drivers/cdrom/cdrom.c",
"function": "cdrom_ioctl_drive_status"
},
"id": "CVE-2018-16658-1edddd10",
"signature_version": "v1"
},
{
"source": "https://github.com/torvalds/linux/commit/8f3fafc9c2f0ece10832c25f7ffcb07c97a32ad4",
"signature_type": "Line",
"digest": {
"line_hashes": [
"59882787446580534645138537252142091219",
"6905010136628044391933546674317243439",
"172628892958148109007190018578528900009",
"325435050577780514985588022226831843814"
],
"threshold": 0.9
},
"deprecated": false,
"target": {
"file": "drivers/cdrom/cdrom.c"
},
"id": "CVE-2018-16658-2d8c7efc",
"signature_version": "v1"
}
]