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.
| Software | From | Fixed in |
|---|---|---|
| google / android | 7.1.2 | 7.1.2.x |
| google / android | 8.0 | 8.0.x |
| google / android | 7.1.1 | 7.1.1.x |
| google / android | 8.1 | 8.1.x |
| google / android | 9.0 | 9.0.x |