In onl2capdataind of btifsock_l2cap.cc, there is possible memory corruption due to a use after free. This could lead to remote code execution over Bluetooth with no additional execution privileges needed. User interaction is not needed for exploitation.
{
"vanir_signatures": [
{
"digest": {
"length": 1231.0,
"function_hash": "178160968470936185638320098311249109670"
},
"id": "ASB-A-175686168-2977bff2",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/system/bt/+/ff82e7d429902405e7e0a780f955a5b9ef2d9e1b",
"target": {
"function": "on_l2cap_data_ind",
"file": "btif/src/btif_sock_l2cap.cc"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"232639603431135776560044852476418725891",
"168916461548729188579484168029015739824",
"124933438368082664701261495312317559181",
"316733693649287323913347624274301580166",
"64953267401263309934326317444384765108",
"138903504683551870702194073267273907795",
"184973989303508159385904149340114855909",
"212825330865716935874456695975242953166"
]
},
"id": "ASB-A-175686168-f38ea23a",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/system/bt/+/ff82e7d429902405e7e0a780f955a5b9ef2d9e1b",
"target": {
"file": "btif/src/btif_sock_l2cap.cc"
}
}
],
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/ff82e7d429902405e7e0a780f955a5b9ef2d9e1b"
],
"types": [
"RCE"
],
"spl": "2021-05-01",
"severity": "Critical"
}
{
"vanir_signatures": [
{
"digest": {
"length": 1231.0,
"function_hash": "178160968470936185638320098311249109670"
},
"id": "ASB-A-175686168-0214252e",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://android.googlesource.com/platform/system/bt/+/ff82e7d429902405e7e0a780f955a5b9ef2d9e1b",
"target": {
"function": "on_l2cap_data_ind",
"file": "btif/src/btif_sock_l2cap.cc"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"232639603431135776560044852476418725891",
"168916461548729188579484168029015739824",
"124933438368082664701261495312317559181",
"316733693649287323913347624274301580166",
"64953267401263309934326317444384765108",
"138903504683551870702194073267273907795",
"184973989303508159385904149340114855909",
"212825330865716935874456695975242953166"
]
},
"id": "ASB-A-175686168-060588d2",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://android.googlesource.com/platform/system/bt/+/ff82e7d429902405e7e0a780f955a5b9ef2d9e1b",
"target": {
"file": "btif/src/btif_sock_l2cap.cc"
}
}
],
"fixes": [
"https://android.googlesource.com/platform/system/bt/+/ff82e7d429902405e7e0a780f955a5b9ef2d9e1b"
],
"types": [
"RCE"
],
"spl": "2021-05-01",
"severity": "Critical"
}