In removeEventHubDevice of InputDevice.cpp, there is a possible OOB read due to a use after free. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.
{ "vanir_signatures": [ { "match_only_versions": [ "13" ], "digest": { "length": 90.0, "function_hash": "104033181600306687417379434953389051811" }, "id": "PUB-A-245770596-2c0a951c", "source": "https://android.googlesource.com/platform/frameworks/native/+/6c57b2f55412a04a3a9d738af0185d0ca26f932f", "deprecated": false, "signature_version": "v1", "target": { "file": "services/inputflinger/reader/InputDevice.cpp", "function": "InputDevice::removeEventHubDevice" }, "signature_type": "Function" }, { "match_only_versions": [ "13" ], "digest": { "threshold": 0.9, "line_hashes": [ "322196983521990433965624430675091414647", "80965299658466156122458259694924224005", "153113124037282638225651903512842122652", "29409469658317615188667528105578559526" ] }, "id": "PUB-A-245770596-45812f31", "source": "https://android.googlesource.com/platform/frameworks/native/+/6c57b2f55412a04a3a9d738af0185d0ca26f932f", "deprecated": false, "signature_version": "v1", "target": { "file": "services/inputflinger/reader/InputDevice.cpp" }, "signature_type": "Line" }, { "digest": { "threshold": 0.9, "line_hashes": [ "85325383378175086860085602739175368590", "56463877964196928586471274743889012909", "88041511121116881537542246436872938226", "204794543884339912463945908760304310176", "33128417181640668815726635420522724010", "225963408938731846172094010712332958878", "117151405176810587249254317765095050577", "245584103750874461101565668085380703659", "270329216758505293355561989663111060634", "42504417293994200147541221227789168993" ] }, "id": "PUB-A-245770596-76a9f035", "source": "https://android.googlesource.com/platform/frameworks/native/+/6c57b2f55412a04a3a9d738af0185d0ca26f932f", "deprecated": false, "signature_version": "v1", "target": { "file": "services/inputflinger/tests/InputReader_test.cpp" }, "signature_type": "Line" }, { "match_only_versions": [ "13" ], "digest": { "threshold": 0.9, "line_hashes": [ "85182197222175915942110017132968736784" ] }, "id": "PUB-A-245770596-bd11de1b", "source": "https://android.googlesource.com/platform/frameworks/native/+/6c57b2f55412a04a3a9d738af0185d0ca26f932f", "deprecated": false, "signature_version": "v1", "target": { "file": "services/inputflinger/reader/controller/PeripheralController.cpp" }, "signature_type": "Line" }, { "match_only_versions": [ "13" ], "digest": { "threshold": 0.9, "line_hashes": [ "296548616018877836004463619011968254286", "76947339446701992052880826865506184841", "222815987240578393504014922967957421141", "215081228918708834555038855991838199085", "217159935243666504103462474238379724227", "24561548553475985129011704736701993154", "146346602150037482227716396483101575568" ] }, "id": "PUB-A-245770596-c330bd5d", "source": "https://android.googlesource.com/platform/frameworks/native/+/6c57b2f55412a04a3a9d738af0185d0ca26f932f", "deprecated": false, "signature_version": "v1", "target": { "file": "services/inputflinger/reader/controller/PeripheralController.h" }, "signature_type": "Line" }, { "match_only_versions": [ "13" ], "digest": { "threshold": 0.9, "line_hashes": [ "284409104109870850002636175925968907331", "37501889089987016421938931203134136795", "196310911255903632192121915898919815199" ] }, "id": "PUB-A-245770596-e59c5d30", "source": "https://android.googlesource.com/platform/frameworks/native/+/6c57b2f55412a04a3a9d738af0185d0ca26f932f", "deprecated": false, "signature_version": "v1", "target": { "file": "services/inputflinger/reader/controller/PeripheralControllerInterface.h" }, "signature_type": "Line" } ], "fixes": [ "https://android.googlesource.com/platform/frameworks/native/+/6c57b2f55412a04a3a9d738af0185d0ca26f932f" ], "spl": "2022-12-01", "severity": "Moderate", "types": [ "EoP" ] }