The sgioctl function in drivers/scsi/sg.c in the Linux kernel through 4.10.4 allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a large command size in an SGNEXTCMDLEN ioctl call, leading to out-of-bounds write access in the sg_write function.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-7187.json"
[
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.18.50"
}
]
},
{
"events": [
{
"introduced": "3.19"
},
{
"fixed": "4.1.40"
}
]
},
{
"events": [
{
"introduced": "4.2"
},
{
"fixed": "4.4.60"
}
]
},
{
"events": [
{
"introduced": "4.5"
},
{
"fixed": "4.9.21"
}
]
},
{
"events": [
{
"introduced": "4.10"
},
{
"fixed": "4.10.9"
}
]
}
]