Race condition in the ionioctl function in drivers/staging/android/ion/ion.c in the Linux kernel before 4.6 allows local users to gain privileges or cause a denial of service (use-after-free) by calling IONIOC_FREE on two CPUs at the same time.
[
{
"digest": {
"function_hash": "278078254361711739080711590497499339415",
"length": 212.0
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-0923c9e8",
"target": {
"function": "ion_handle_put",
"file": "drivers/staging/android/ion/ion.c"
}
},
{
"digest": {
"function_hash": "13728531870172878258703394862526217163",
"length": 347.0
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-32c05219",
"target": {
"function": "ion_free",
"file": "drivers/staging/android/ion/ion.c"
}
},
{
"digest": {
"function_hash": "103217684885061038393776043661293274418",
"length": 1906.0
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-3ecbe213",
"target": {
"function": "ion_ioctl",
"file": "drivers/staging/android/ion/ion.c"
}
},
{
"digest": {
"function_hash": "72501988754444308544317023389844637255",
"length": 252.0
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-5b8664af",
"target": {
"function": "ion_handle_get_by_id",
"file": "drivers/staging/android/ion/ion.c"
}
},
{
"digest": {
"line_hashes": [
"37869296207029364533800407821143415715",
"311016163515774830790486142713673726942",
"204109574668759494742877581370688452022",
"177806215375136643850549051593576685649",
"163179644546946435607095152634451275548",
"186360999351215956799825316346109443417",
"99757993479984166844932565005898479982",
"337555623440285187885000416803987466890",
"249617809259019665158537691520475150848",
"299452697748337034017158422981426440032",
"137999755280665142466894987873266987850",
"170892199555395619270830288562374505267",
"215609387053339826223105386009909913067",
"65264028583463200963092873319930589217",
"74122746335772523397807074801742037255",
"48981535204748332402805562646901968761",
"319571750246273026316903784842956208083",
"134101661204417274848515161090677260859",
"88597516062418000683395467145311585514",
"219557047205496458665965659118505661966",
"294143494035207509274646918617178779336",
"16985008175619071139751920308039900967",
"161788460852369129312235424821745585785",
"310582577855740511341669958639683213703",
"4583394298877506807553276606409097703",
"74725873958275072445511370839244981705",
"319105508074923017741073483616996144756",
"176957783930700391961866847202519359691",
"100935294299053809603058785492789058732",
"272596204097120075798765563828186547535",
"194674589733790109257861793712451009364",
"192879712668614255945960315415463583951",
"126752429812234035742010607024697499512",
"174630203271251929548993796182943808786",
"46979398263273475707816927526003701873",
"181202300604460883388556433960439567159",
"183448940921972433711336174023369436101",
"229145041919279578729711419629030525132",
"43925026327907297010853172581389237673",
"101459523822782141976541183759349151047",
"96727965767090052284114560731304435102",
"182308777450000435630556816495484119647",
"22685985764857746017085241939079481219",
"335999311368677044330557366336325270820",
"45206061389375975771231679908532065137",
"119178179653771014027933819959212643759",
"111528524684116187823099532669604241851"
],
"threshold": 0.9
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-64de13d6",
"target": {
"file": "drivers/staging/android/ion/ion.c"
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-9120.json"
[
{
"digest": {
"function_hash": "278078254361711739080711590497499339415",
"length": 212.0
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-552e25f7",
"target": {
"function": "ion_handle_put",
"file": "drivers/staging/android/ion/ion.c"
}
},
{
"digest": {
"function_hash": "72501988754444308544317023389844637255",
"length": 252.0
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-9bb0f5ee",
"target": {
"function": "ion_handle_get_by_id",
"file": "drivers/staging/android/ion/ion.c"
}
},
{
"digest": {
"function_hash": "13728531870172878258703394862526217163",
"length": 347.0
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-cd48f246",
"target": {
"function": "ion_free",
"file": "drivers/staging/android/ion/ion.c"
}
},
{
"digest": {
"line_hashes": [
"37869296207029364533800407821143415715",
"311016163515774830790486142713673726942",
"204109574668759494742877581370688452022",
"177806215375136643850549051593576685649",
"163179644546946435607095152634451275548",
"186360999351215956799825316346109443417",
"99757993479984166844932565005898479982",
"337555623440285187885000416803987466890",
"249617809259019665158537691520475150848",
"299452697748337034017158422981426440032",
"137999755280665142466894987873266987850",
"170892199555395619270830288562374505267",
"215609387053339826223105386009909913067",
"65264028583463200963092873319930589217",
"74122746335772523397807074801742037255",
"48981535204748332402805562646901968761",
"319571750246273026316903784842956208083",
"134101661204417274848515161090677260859",
"88597516062418000683395467145311585514",
"219557047205496458665965659118505661966",
"294143494035207509274646918617178779336",
"16985008175619071139751920308039900967",
"161788460852369129312235424821745585785",
"310582577855740511341669958639683213703",
"4583394298877506807553276606409097703",
"74725873958275072445511370839244981705",
"319105508074923017741073483616996144756",
"176957783930700391961866847202519359691",
"100935294299053809603058785492789058732",
"272596204097120075798765563828186547535",
"194674589733790109257861793712451009364",
"192879712668614255945960315415463583951",
"126752429812234035742010607024697499512",
"174630203271251929548993796182943808786",
"46979398263273475707816927526003701873",
"181202300604460883388556433960439567159",
"183448940921972433711336174023369436101",
"229145041919279578729711419629030525132",
"43925026327907297010853172581389237673",
"101459523822782141976541183759349151047",
"96727965767090052284114560731304435102",
"182308777450000435630556816495484119647",
"22685985764857746017085241939079481219",
"335999311368677044330557366336325270820",
"45206061389375975771231679908532065137",
"119178179653771014027933819959212643759",
"111528524684116187823099532669604241851"
],
"threshold": 0.9
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-d52a6ebb",
"target": {
"file": "drivers/staging/android/ion/ion.c"
}
},
{
"digest": {
"function_hash": "103217684885061038393776043661293274418",
"length": 1906.0
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/9590232bb4f4cc824f3425a6e1349afbe6d6d2b7",
"id": "CVE-2016-9120-d675b915",
"target": {
"function": "ion_ioctl",
"file": "drivers/staging/android/ion/ion.c"
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-9120.json"