In ClearPullerCacheIfNecessary and ForceClearPullerCache of StatsPullerManager.cpp, there is a possible use-after-free due to a race condition. 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": [ "276421558175509511554573386608974515553", "89344226562673292616585529776115421582", "335376642036065395401989861899840725083", "22243518718314057884693290828616978389", "307824126936387981057255436007154658163", "337111659555491520642886002911102643275", "145432192477951541460162843433924264187", "245617917729764275220540778554821687797" ] }, "id": "ASB-A-173552790-0a935553", "source": "https://android.googlesource.com/platform/frameworks/base/+/c7f94ac6347aaa77f890d1b382177968d2581894", "deprecated": false, "signature_version": "v1", "target": { "file": "cmds/statsd/src/external/StatsPullerManager.cpp" }, "signature_type": "Line" }, { "digest": { "length": 223.0, "function_hash": "80816721327590360138923004711054520411" }, "id": "ASB-A-173552790-5dbfce0f", "source": "https://android.googlesource.com/platform/frameworks/base/+/c7f94ac6347aaa77f890d1b382177968d2581894", "deprecated": false, "signature_version": "v1", "target": { "file": "cmds/statsd/src/external/StatsPullerManager.cpp", "function": "StatsPullerManager::ClearPullerCacheIfNecessary" }, "signature_type": "Function" }, { "digest": { "length": 193.0, "function_hash": "272798042972821718683930904450590500692" }, "id": "ASB-A-173552790-b6e24d8e", "source": "https://android.googlesource.com/platform/frameworks/base/+/c7f94ac6347aaa77f890d1b382177968d2581894", "deprecated": false, "signature_version": "v1", "target": { "file": "cmds/statsd/src/external/StatsPullerManager.cpp", "function": "StatsPullerManager::ForceClearPullerCache" }, "signature_type": "Function" } ], "fixes": [ "https://android.googlesource.com/platform/frameworks/base/+/c7f94ac6347aaa77f890d1b382177968d2581894" ], "spl": "2021-04-01", "severity": "High", "types": [ "EoP" ] }