In startNextMatchingActivity of ActivityTaskManagerService.java, there is a possible way to bypass the restrictions on starting activities from the background due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
| Name | Vendor | Start Version | End Version | 
|---|---|---|---|
| Android | 11.0 (including) | 11.0 (including) | |
| Android | 12.0 (including) | 12.0 (including) | |
| Android | 12.1 (including) | 12.1 (including) | |
| Android | 13.0 (including) | 13.0 (including) | |
| Android | 14.0 (including) | 14.0 (including) |