In SensorManager::assertStateLocked of SensorManager.cpp in Android 7.1.1 7.1.2 8.0 8.1 and 9 there is a possible use after free due to improper locking. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.