Android security tags, read closely by Lightrion

CVE-2025-26428 AI-generated analysis

platform/frameworks/base, WindowManager lock task / screen pinning (services/core/java/com/android/server/wm/LockTaskController.java)

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 an early return in LockTaskController.startLockTaskMode so that an app-initiated request on a LOCK_TASK_AUTH_PINNABLE task that is already in mLockTaskModeTasks no longer triggers a new screen pinning request via StatusBarManagerInternal.showScreenPinningRequest.

Root cause

In LockTaskController.startLockTaskMode, when isSystemCaller is false and task.mLockTaskAuth == LOCK_TASK_AUTH_PINNABLE (app not in the lock task allowlist), the code unconditionally called StatusBarManagerInternal.showScreenPinningRequest(task.mTaskId) to ask the user to pin the app. It did not check whether the task was already locked (already present in mLockTaskModeTasks, e.g. after the system had pinned it with isSystemCaller true). An app whose task was already pinned could therefore cause the system pinning request UI to be shown again. The bulletin rates this as a High severity EoP; the material does not describe the concrete consequence further.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to May 2025 · Findings