Android security tags, read closely by Lightrion

CVE-2023-40094 AI-generated analysis

platform/frameworks/base, WindowManager / ActivityTaskManagerService (keyguard control)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (4 corrections). Verify against the commit before relying on it.

Adds a CONTROL_KEYGUARD permission check to the IActivityTaskManager.keyguardGoingAway binder entry point in ActivityTaskManagerService so that callers without that permission can no longer signal that the keyguard is going away.

Root cause

ActivityTaskManagerService.keyguardGoingAway(int flags), the implementation of the binder method IActivityTaskManager.keyguardGoingAway, only called enforceNotIsolatedCaller("keyguardGoingAway") before clearing the calling identity and continuing. No permission was required, so any non-isolated process with access to the ActivityTaskManager binder could call this keyguard-going-away notification, which per index search is normally sent by SystemUI's KeyguardViewMediator. The rest of the method body is not shown; per index search, KeyguardController.keyguardGoingAway (which marks the keyguard as going away and prepares the TRANSIT_KEYGUARD_GOING_AWAY transition) is the likely downstream path.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2023 · Findings