In the function sbusfbioctlhelper() in drivers/video/fbdev/sbuslib.c in the Linux kernel through 4.15, an integer signedness error allows arbitrary information leakage for the FBIOPUTCMAPSPARC and FBIOGETCMAPSPARC commands.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6412.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "268194169877444248981106444212406890689",
"length": 2138.0
},
"signature_type": "Function",
"target": {
"file": "drivers/video/fbdev/sbuslib.c",
"function": "sbusfb_ioctl_helper"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@250c6c49e3b68756b14983c076183568636e2bde",
"id": "CVE-2018-6412-7804fe59",
"signature_version": "v1"
},
{
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"82143332645530560630512740230925716738",
"88525992298684645423690752866895449388",
"40310065241148002060075457907665586751",
"77512909179518226981458602484617834965",
"242598761435845718205500750932692630263",
"131011415932517950117957305977433676149",
"195539616059617702954083843648904097166",
"248030812004921860846426885867096420630"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/video/fbdev/sbuslib.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@250c6c49e3b68756b14983c076183568636e2bde",
"id": "CVE-2018-6412-c4711c3f",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6412.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "268194169877444248981106444212406890689",
"length": 2138.0
},
"signature_type": "Function",
"target": {
"file": "drivers/video/fbdev/sbuslib.c",
"function": "sbusfb_ioctl_helper"
},
"source": "https://github.com/torvalds/linux/commit/250c6c49e3b68756b14983c076183568636e2bde",
"id": "CVE-2018-6412-48d33480",
"signature_version": "v1"
},
{
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"82143332645530560630512740230925716738",
"88525992298684645423690752866895449388",
"40310065241148002060075457907665586751",
"77512909179518226981458602484617834965",
"242598761435845718205500750932692630263",
"131011415932517950117957305977433676149",
"195539616059617702954083843648904097166",
"248030812004921860846426885867096420630"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/video/fbdev/sbuslib.c"
},
"source": "https://github.com/torvalds/linux/commit/250c6c49e3b68756b14983c076183568636e2bde",
"id": "CVE-2018-6412-9cc7cc2e",
"signature_version": "v1"
}
]