In SurfaceFlinger::createLayer of SurfaceFlinger.cpp, there is a possible arbitrary code execution due to improper casting. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"vanir_signatures": [
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"295989999399011492101666861141714915013",
"315488111032126050778635536449358085636",
"15858448146814839372082332464563811561",
"313470107994509140792639498939639838925"
]
},
"id": "ASB-A-137284057-76b0a98b",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/frameworks/native/+/76923a32ab6ea25115b65ff86ade7235ba7b3a33",
"target": {
"file": "services/surfaceflinger/SurfaceFlinger.cpp"
}
},
{
"digest": {
"length": 445.0,
"function_hash": "117679393179474112100511435737374720560"
},
"id": "ASB-A-137284057-def13afe",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/frameworks/native/+/76923a32ab6ea25115b65ff86ade7235ba7b3a33",
"target": {
"function": "SurfaceFlinger::onLayerRemoved",
"file": "services/surfaceflinger/SurfaceFlinger.cpp"
}
}
],
"fixes": [
"https://android.googlesource.com/platform/frameworks/native/+/76923a32ab6ea25115b65ff86ade7235ba7b3a33"
],
"types": [
"EoP"
],
"spl": "2020-10-01",
"severity": "Moderate"
}