In readmultirsp of gatt_sr.cc, there is a possible out of bounds write due to an incorrect bounds check. This could lead to remote escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"severity": "Critical",
"fixes": [
"https://android.googlesource.com/platform/packages/modules/Bluetooth/+/bad21c8ef4c494648d6883631077d429bce5e496"
],
"spl": "2022-06-01",
"vanir_signatures": [
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/bad21c8ef4c494648d6883631077d429bce5e496",
"target": {
"function": "build_read_multi_rsp",
"file": "system/stack/gatt/gatt_sr.cc"
},
"deprecated": false,
"digest": {
"function_hash": "233824492755109360476512271087818456289",
"length": 1800.0
},
"signature_type": "Function",
"id": "ASB-A-227618988-7f99c528"
},
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/packages/modules/Bluetooth/+/bad21c8ef4c494648d6883631077d429bce5e496",
"target": {
"file": "system/stack/gatt/gatt_sr.cc"
},
"deprecated": false,
"digest": {
"line_hashes": [
"185620860055585878484986184931846809734",
"103264294277517750908687834421905370315",
"178556365301647303878227253408669331022",
"70410220941579404286973999048523193428"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "ASB-A-227618988-bb1388df"
}
],
"types": [
"EoP"
]
}
{
"severity": "Critical",
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/7056e665e7d4782af9474b1645c59afbb2b76efd"
],
"spl": "2022-06-01",
"vanir_signatures": [
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/7056e665e7d4782af9474b1645c59afbb2b76efd",
"target": {
"function": "build_read_multi_rsp",
"file": "stack/gatt/gatt_sr.cc"
},
"deprecated": false,
"digest": {
"function_hash": "233824492755109360476512271087818456289",
"length": 1800.0
},
"signature_type": "Function",
"id": "ASB-A-227618988-225da685"
},
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/7056e665e7d4782af9474b1645c59afbb2b76efd",
"target": {
"file": "stack/gatt/gatt_sr.cc"
},
"deprecated": false,
"digest": {
"line_hashes": [
"185620860055585878484986184931846809734",
"103264294277517750908687834421905370315",
"178556365301647303878227253408669331022",
"70410220941579404286973999048523193428"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "ASB-A-227618988-ac934300"
}
],
"types": [
"EoP"
]
}
{
"severity": "Critical",
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/7056e665e7d4782af9474b1645c59afbb2b76efd"
],
"spl": "2022-06-01",
"vanir_signatures": [
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/7056e665e7d4782af9474b1645c59afbb2b76efd",
"target": {
"function": "build_read_multi_rsp",
"file": "stack/gatt/gatt_sr.cc"
},
"deprecated": false,
"digest": {
"function_hash": "233824492755109360476512271087818456289",
"length": 1800.0
},
"signature_type": "Function",
"id": "ASB-A-227618988-6fcd5cb6"
},
{
"signature_version": "v1",
"source": "https://android.googlesource.com/platform/system/bt/+/7056e665e7d4782af9474b1645c59afbb2b76efd",
"target": {
"file": "stack/gatt/gatt_sr.cc"
},
"deprecated": false,
"digest": {
"line_hashes": [
"185620860055585878484986184931846809734",
"103264294277517750908687834421905370315",
"178556365301647303878227253408669331022",
"70410220941579404286973999048523193428"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "ASB-A-227618988-f46dc2c5"
}
],
"types": [
"EoP"
]
}