kernel/events/core.c in the performance subsystem in the Linux kernel before 4.0 mismanages locks during certain migrations, which allows local users to gain privileges via a crafted application, aka Android internal bug 30955111.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6786.json"
[
{
"id": "CVE-2016-6786-33288441",
"target": {
"function": "SYSCALL_DEFINE5",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "152264419292845240926692845804922899323",
"length": 3928.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-460316d4",
"target": {
"function": "perf_event_disable",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "71719180385589832395557624061992774814",
"length": 539.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-503634a8",
"target": {
"function": "perf_pmu_migrate_context",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "326236473562600694706946923760079032097",
"length": 872.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-5be3f40d",
"target": {
"function": "perf_event_enable",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "218923126133109018094374227684200575883",
"length": 685.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-743ba9be",
"target": {
"function": "perf_event_for_each",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "97659454472527367959600369512821944847",
"length": 367.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-74ed6c31",
"target": {
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"66075322427296969766141327356002575539",
"93094839071293745610966555398497687285",
"119538443206254441427348049701024775183",
"184422788614617805260801224104643640183",
"99722361905165318976260423567618303239",
"268795580145202867349793840829398420749",
"339065016924645221400946083635702592867",
"139624756546657623191180049558187000968",
"155640090606230277805691778780133525578",
"82314683394537254771035335080698357317",
"169133789399327964585537922295556018752",
"117991722764294476292906728549462005472",
"158725955229521761799437996887298012024",
"68780244841767075340566805082910194086",
"101807269137841707355553802356108747809",
"208872478562049621767892183426211798954",
"50125800837915369957389990045671397363",
"86401260653098357744602057292310837438",
"172845941537230657810739986837600808807",
"184800122413410859408955946596115538991",
"98070305960321289867307679894552113541",
"283522873148487873367708609356954249151",
"128589957256152344639410596742540117266",
"305520740662432235215899807483009327742",
"254960832461483109939205418841306285363",
"226859506230342418025954705671913217294",
"140679112535021360439643055926329476254",
"51565064968124655914767188247353581616",
"182564771666859344141836793182914112901",
"38318664147018032437462587526340504842",
"282645804891502661051330448395079685655",
"180930148105201433467623201856099064533",
"135201590284392794035631086246301378747",
"102546888573028842136422361259049922126",
"260650650144602963628814969529335936498",
"41132272877228717389530120140164438543",
"69887043239847605284098212885227020711",
"194682394461664189239576214916228177259",
"106252979238077907604213407903842023652",
"311726078705802156535132931676302673109",
"248341294762811592859802407967687710647",
"280099536576131952773714893220418477775",
"291785582114535087819451090691794820268",
"89703743582307884253627878975479854592",
"107213786075542045371767347423044636996",
"216903995974027010841047420814329572136",
"75043284098981004442232584984455597692",
"55277560461830431981140212265777303687",
"173346462325120883224115338608084032432",
"24527404943468858535381358409323417272",
"7396578370922900313115035572667977658",
"227212306755535682229032892508187037031",
"330570102082301512401685582372827781358",
"103247507978332219858441212046022057103",
"101984014179071464537031387538276483255",
"286960166272181830859691562507790827100",
"8052329138055605514465629626483695314",
"314425753183638922338164188494762486573",
"130624946402687846796565247880626840849",
"105707400374518709031366569444244613674",
"115945108043297672813772748711909947415",
"247965079372046712934557357552026432774",
"53933010097870600566797982777442462252",
"107709598092063453988972392588429530580",
"19950475641436810116058381916630505264",
"167818909869424856844081790769415823382",
"152598614379962987155136530157858048874",
"3681888126548073822959742487180255869",
"56097968114973831591161351162406796688",
"123812879535126215708187451472585039401",
"21930413633619411400598074856662777074",
"84278963222321127549673513567711957837",
"2813971266592888457158355608436160992",
"214444748886729116035406451079678097373",
"79363521721462175391420459291098250120",
"214096991057746578667539182992009222998",
"202961395253492992359355323724552047258",
"313967833155168650272173241511622107885",
"34799505179475119761366466882421697925",
"326273414867076090136986525455393764645",
"258405121209129817400849653816243004141",
"337726880762453232327438422935107354183",
"287596637483445923782551353987577558907",
"36577186771513798919026362079266370872",
"19373231924392111087473592397385088590",
"116762731125942681939426843981761602951",
"330438212818597747240577624463844731437",
"194009439304960362559070913472848026627",
"184793874841162865443967446565826643555",
"327883067683105081855633326952172776997",
"64524612283220265183279347135288165410",
"101505872826579733552243761672170834469",
"277343708227327819024715016712549401843",
"31397674791434600396521124667663503008",
"230442246098840158967330656738500193280",
"276472632116959865628932080669395284817",
"135896740209849138314260461364998536648",
"264279622891799146815614417147819602399",
"295916562249387302896254223076055849142",
"245738431643383155313752368496734548649",
"41398545475705894314543498654017700790",
"269674907475669363687405399730989686508",
"234278957654288058704925287779325098671",
"171355988246074045977047880986132794380",
"224594391605667205359906627046048469520",
"126282076955601235595159880948154241242",
"297490996614431463291839129381602233166",
"13798092584788648092085978784705995425",
"197113540669802904699260795074958167499",
"100820525612457619390040669624094748455",
"234278957654288058704925287779325098671",
"72357143285602527341720405399929271985",
"95860294185489518505401803846986434233",
"236156207558826318491147057271953816307",
"129621914882193316887174222336397873378",
"73151857022130185292413352925873505943",
"28844357868023727408833328243165206639",
"139857727396732961448830506088431399378",
"161813296000425018596253144354787460370",
"123507976693708611311601921574718414159",
"199449089383691563488611704181039282240",
"95181361579706697786179974090471959092",
"286904273054020999356242342416704838652",
"12657462634758207887625766609094143140",
"49780988401905716675326180449949013383",
"262020167596343641883784199279040992231",
"170896613727962373943846080152205298358",
"62276485568414526647108757960949249442",
"77846467558874088597315179981299286875",
"167525627787255001702965963994589286012",
"84106347801600817228888596968183147150",
"28141561027051171363776988415139350546",
"325030401475956304228200141398379792221",
"161415168667276069830654971008237079245",
"313827083085309796299958629098051776741",
"53652150780185407945163964050378589728",
"52362096201220124480323896663751282350",
"157052830214598909178772953378447559433",
"110752698230077376641841757494723594494",
"88915770245487889343394192059725639105",
"333976474738250034975025372728023013206",
"216192452408357965417493475308021621715",
"327812448123232806649289725321480242930",
"168247124475614295593834761960907840646",
"177119482010157775380564849153103075529",
"207192408548296115360412829400988627316",
"316060547492567995010778250087534879537",
"299820653733762083226721099086122331791",
"105722629763119352354365402498316284579",
"289326323463129593499457106969860649310",
"82986395086091570930678561557229711709",
"280937634245803567159867603199944490715",
"38491391485707150826377339971155778676",
"185457265237060754040345804430445227206",
"193022559432539162264271979516634169251"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2016-6786-90947cec",
"target": {
"function": "perf_ioctl",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "16998013312246222393423658225003682154",
"length": 1182.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-a2005378",
"target": {
"function": "perf_event_task_disable",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "330837965560214769793824892754413219755",
"length": 256.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-a5750bfe",
"target": {
"function": "perf_event_read_group",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "99040714275290495263727353035089681806",
"length": 1039.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-a8ee6b64",
"target": {
"function": "perf_read",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "316646487750976695942799425987717456707",
"length": 169.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-b826fa4e",
"target": {
"function": "perf_event_task_enable",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "24704334942446498721916144187234501006",
"length": 255.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-eac8a452",
"target": {
"function": "perf_event_refresh",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "3392252311593237680195122767413386823",
"length": 201.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-f287f193",
"target": {
"function": "perf_remove_from_owner",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "309595283972528302920454358283105771448",
"length": 344.0
},
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6786.json"
[
{
"id": "CVE-2016-6786-1d2ae51a",
"target": {
"function": "perf_event_disable",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "71719180385589832395557624061992774814",
"length": 539.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-3d9f61e0",
"target": {
"function": "perf_event_task_enable",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "24704334942446498721916144187234501006",
"length": 255.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-5277e2dc",
"target": {
"function": "perf_event_enable",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "218923126133109018094374227684200575883",
"length": 685.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-559eadba",
"target": {
"function": "perf_read",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "316646487750976695942799425987717456707",
"length": 169.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-5675ae40",
"target": {
"function": "SYSCALL_DEFINE5",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "152264419292845240926692845804922899323",
"length": 3928.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-5a118ca0",
"target": {
"function": "perf_pmu_migrate_context",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "326236473562600694706946923760079032097",
"length": 872.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-602a1755",
"target": {
"function": "perf_ioctl",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "16998013312246222393423658225003682154",
"length": 1182.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-7e26e373",
"target": {
"function": "perf_event_read_group",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "99040714275290495263727353035089681806",
"length": 1039.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-9c419e74",
"target": {
"function": "perf_event_refresh",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "3392252311593237680195122767413386823",
"length": 201.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-a1435ee8",
"target": {
"function": "perf_event_for_each",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "97659454472527367959600369512821944847",
"length": 367.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-af6b643d",
"target": {
"function": "perf_event_task_disable",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "330837965560214769793824892754413219755",
"length": 256.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-cdacd888",
"target": {
"function": "perf_remove_from_owner",
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"function_hash": "309595283972528302920454358283105771448",
"length": 344.0
},
"signature_type": "Function"
},
{
"id": "CVE-2016-6786-e0692c9b",
"target": {
"file": "kernel/events/core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/torvalds/linux/commit/f63a8daa5812afef4f06c962351687e1ff9ccb2b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"66075322427296969766141327356002575539",
"93094839071293745610966555398497687285",
"119538443206254441427348049701024775183",
"184422788614617805260801224104643640183",
"99722361905165318976260423567618303239",
"268795580145202867349793840829398420749",
"339065016924645221400946083635702592867",
"139624756546657623191180049558187000968",
"155640090606230277805691778780133525578",
"82314683394537254771035335080698357317",
"169133789399327964585537922295556018752",
"117991722764294476292906728549462005472",
"158725955229521761799437996887298012024",
"68780244841767075340566805082910194086",
"101807269137841707355553802356108747809",
"208872478562049621767892183426211798954",
"50125800837915369957389990045671397363",
"86401260653098357744602057292310837438",
"172845941537230657810739986837600808807",
"184800122413410859408955946596115538991",
"98070305960321289867307679894552113541",
"283522873148487873367708609356954249151",
"128589957256152344639410596742540117266",
"305520740662432235215899807483009327742",
"254960832461483109939205418841306285363",
"226859506230342418025954705671913217294",
"140679112535021360439643055926329476254",
"51565064968124655914767188247353581616",
"182564771666859344141836793182914112901",
"38318664147018032437462587526340504842",
"282645804891502661051330448395079685655",
"180930148105201433467623201856099064533",
"135201590284392794035631086246301378747",
"102546888573028842136422361259049922126",
"260650650144602963628814969529335936498",
"41132272877228717389530120140164438543",
"69887043239847605284098212885227020711",
"194682394461664189239576214916228177259",
"106252979238077907604213407903842023652",
"311726078705802156535132931676302673109",
"248341294762811592859802407967687710647",
"280099536576131952773714893220418477775",
"291785582114535087819451090691794820268",
"89703743582307884253627878975479854592",
"107213786075542045371767347423044636996",
"216903995974027010841047420814329572136",
"75043284098981004442232584984455597692",
"55277560461830431981140212265777303687",
"173346462325120883224115338608084032432",
"24527404943468858535381358409323417272",
"7396578370922900313115035572667977658",
"227212306755535682229032892508187037031",
"330570102082301512401685582372827781358",
"103247507978332219858441212046022057103",
"101984014179071464537031387538276483255",
"286960166272181830859691562507790827100",
"8052329138055605514465629626483695314",
"314425753183638922338164188494762486573",
"130624946402687846796565247880626840849",
"105707400374518709031366569444244613674",
"115945108043297672813772748711909947415",
"247965079372046712934557357552026432774",
"53933010097870600566797982777442462252",
"107709598092063453988972392588429530580",
"19950475641436810116058381916630505264",
"167818909869424856844081790769415823382",
"152598614379962987155136530157858048874",
"3681888126548073822959742487180255869",
"56097968114973831591161351162406796688",
"123812879535126215708187451472585039401",
"21930413633619411400598074856662777074",
"84278963222321127549673513567711957837",
"2813971266592888457158355608436160992",
"214444748886729116035406451079678097373",
"79363521721462175391420459291098250120",
"214096991057746578667539182992009222998",
"202961395253492992359355323724552047258",
"313967833155168650272173241511622107885",
"34799505179475119761366466882421697925",
"326273414867076090136986525455393764645",
"258405121209129817400849653816243004141",
"337726880762453232327438422935107354183",
"287596637483445923782551353987577558907",
"36577186771513798919026362079266370872",
"19373231924392111087473592397385088590",
"116762731125942681939426843981761602951",
"330438212818597747240577624463844731437",
"194009439304960362559070913472848026627",
"184793874841162865443967446565826643555",
"327883067683105081855633326952172776997",
"64524612283220265183279347135288165410",
"101505872826579733552243761672170834469",
"277343708227327819024715016712549401843",
"31397674791434600396521124667663503008",
"230442246098840158967330656738500193280",
"276472632116959865628932080669395284817",
"135896740209849138314260461364998536648",
"264279622891799146815614417147819602399",
"295916562249387302896254223076055849142",
"245738431643383155313752368496734548649",
"41398545475705894314543498654017700790",
"269674907475669363687405399730989686508",
"234278957654288058704925287779325098671",
"171355988246074045977047880986132794380",
"224594391605667205359906627046048469520",
"126282076955601235595159880948154241242",
"297490996614431463291839129381602233166",
"13798092584788648092085978784705995425",
"197113540669802904699260795074958167499",
"100820525612457619390040669624094748455",
"234278957654288058704925287779325098671",
"72357143285602527341720405399929271985",
"95860294185489518505401803846986434233",
"236156207558826318491147057271953816307",
"129621914882193316887174222336397873378",
"73151857022130185292413352925873505943",
"28844357868023727408833328243165206639",
"139857727396732961448830506088431399378",
"161813296000425018596253144354787460370",
"123507976693708611311601921574718414159",
"199449089383691563488611704181039282240",
"95181361579706697786179974090471959092",
"286904273054020999356242342416704838652",
"12657462634758207887625766609094143140",
"49780988401905716675326180449949013383",
"262020167596343641883784199279040992231",
"170896613727962373943846080152205298358",
"62276485568414526647108757960949249442",
"77846467558874088597315179981299286875",
"167525627787255001702965963994589286012",
"84106347801600817228888596968183147150",
"28141561027051171363776988415139350546",
"325030401475956304228200141398379792221",
"161415168667276069830654971008237079245",
"313827083085309796299958629098051776741",
"53652150780185407945163964050378589728",
"52362096201220124480323896663751282350",
"157052830214598909178772953378447559433",
"110752698230077376641841757494723594494",
"88915770245487889343394192059725639105",
"333976474738250034975025372728023013206",
"216192452408357965417493475308021621715",
"327812448123232806649289725321480242930",
"168247124475614295593834761960907840646",
"177119482010157775380564849153103075529",
"207192408548296115360412829400988627316",
"316060547492567995010778250087534879537",
"299820653733762083226721099086122331791",
"105722629763119352354365402498316284579",
"289326323463129593499457106969860649310",
"82986395086091570930678561557229711709",
"280937634245803567159867603199944490715",
"38491391485707150826377339971155778676",
"185457265237060754040345804430445227206",
"193022559432539162264271979516634169251"
]
},
"signature_type": "Line"
}
]