In ServiceManager::add function in the hardware service manager, there is an insecure permissions check based on the PID of the caller. This could allow an app to add or replace a HAL service with its own service, gaining code execution in a privileged process.Product: AndroidVersions: Android-8.0 Android-8.1 Android-9Android ID: A-121035042Upstream kernel
| Software | From | Fixed in |
|---|---|---|
| google / android | 8.0 | 8.0.x |
| google / android | 8.1 | 8.1.x |
| google / android | 9.0 | 9.0.x |