The _munlockpagevec function in mm/mlock.c in the Linux kernel before 4.11.4 allows local users to cause a denial of service (NR_MLOCK accounting corruption) via crafted use of mlockall and munlockall system calls.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18221.json"
[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 873.0,
"function_hash": "61009133952113531727292166786845144465"
},
"signature_type": "Function",
"id": "CVE-2017-18221-4a814484",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@70feee0e1ef331b22cc51f383d532a0d043fbdcc",
"target": {
"function": "__munlock_pagevec",
"file": "mm/mlock.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"248907094681977031878639956035102576270",
"96987314415959806853523146431318180302",
"254959690378261730330609385726987195298",
"44988182332734680851498523486778999979",
"75178920671910905912383704432106613262",
"182181598713180336639383673362545358939",
"263752635011206272713105171495509628079",
"204468079559047687941535739478290858463",
"79157565629868681459619256629712091313",
"94321097654243467194736364145490686577",
"169981520794993191770932340643266745996",
"144383515290622645528195376800727426549"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2017-18221-a26f40cd",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@70feee0e1ef331b22cc51f383d532a0d043fbdcc",
"target": {
"file": "mm/mlock.c"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18221.json"
[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"248907094681977031878639956035102576270",
"96987314415959806853523146431318180302",
"254959690378261730330609385726987195298",
"44988182332734680851498523486778999979",
"75178920671910905912383704432106613262",
"182181598713180336639383673362545358939",
"263752635011206272713105171495509628079",
"204468079559047687941535739478290858463",
"79157565629868681459619256629712091313",
"94321097654243467194736364145490686577",
"169981520794993191770932340643266745996",
"144383515290622645528195376800727426549"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2017-18221-502f4ed1",
"source": "https://github.com/torvalds/linux/commit/70feee0e1ef331b22cc51f383d532a0d043fbdcc",
"target": {
"file": "mm/mlock.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 873.0,
"function_hash": "61009133952113531727292166786845144465"
},
"signature_type": "Function",
"id": "CVE-2017-18221-6c03e253",
"source": "https://github.com/torvalds/linux/commit/70feee0e1ef331b22cc51f383d532a0d043fbdcc",
"target": {
"function": "__munlock_pagevec",
"file": "mm/mlock.c"
}
}
]