The do_shmat function in ipc/shm.c in the Linux kernel through 4.9.12 does not restrict the address calculated by a certain rounding operation, which allows local users to map page zero, and consequently bypass a protection mechanism that exists for the mmap system call, by making crafted shmget and shmat system calls in a privileged context.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5669.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/95e91b831f87ac8e1f8ed50c14d709089b4e01b8",
"digest": {
"line_hashes": [
"285427267170663619684588396656587371547",
"258472619537024104229329369387687258070",
"198593966536096412750555188353693502562",
"41063939231364916967258278643181418444",
"288957534193054610530602616721357050898",
"141667590497075261372256195010885973347",
"19212544396579490626047206094852819378",
"254287484164048189091328983009226981146",
"5577597589041674801766443914179727185",
"119172517028892852588956863136996676587"
],
"threshold": 0.9
},
"id": "CVE-2017-5669-da1f0ba2",
"deprecated": false,
"target": {
"file": "ipc/shm.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/95e91b831f87ac8e1f8ed50c14d709089b4e01b8",
"digest": {
"function_hash": "104020409521464622782619296620479044007",
"length": 2946.0
},
"id": "CVE-2017-5669-dd42b301",
"deprecated": false,
"target": {
"file": "ipc/shm.c",
"function": "do_shmat"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/e1d35d4dc7f089e6c9c080d556feedf9c706f0c7",
"digest": {
"line_hashes": [
"285427267170663619684588396656587371547",
"258472619537024104229329369387687258070",
"198593966536096412750555188353693502562",
"41063939231364916967258278643181418444",
"288957534193054610530602616721357050898",
"141667590497075261372256195010885973347",
"19212544396579490626047206094852819378",
"254287484164048189091328983009226981146",
"5577597589041674801766443914179727185",
"119172517028892852588956863136996676587"
],
"threshold": 0.9
},
"id": "CVE-2017-5669-e995dcb6",
"deprecated": false,
"target": {
"file": "ipc/shm.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/e1d35d4dc7f089e6c9c080d556feedf9c706f0c7",
"digest": {
"function_hash": "104020409521464622782619296620479044007",
"length": 2946.0
},
"id": "CVE-2017-5669-f9346a61",
"deprecated": false,
"target": {
"file": "ipc/shm.c",
"function": "do_shmat"
}
}
]