Android security tags, read closely by Lightrion

CVE-2026-0061 AI-generated analysis

platform/frameworks/base, WindowManager (services/core/java/com/android/server/wm/WindowState.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 (6 corrections). Verify against the commit before relying on it.

WindowState now applies the server-side visibility policy (hide/show) to the WindowState's own mSurfaceControl through the pending transaction, in addition to the existing mWinAnimator handling, so policy visibility no longer depends only on a surface the client can access.

Root cause

In WindowState, the legacy policy visibility (LEGACY_POLICY_VISIBILITY) was applied through mWinAnimator.hide(...) / mWinAnimator.applyAnimationLocked(...), and the WindowState's own surface (mSurfaceControl) was never hidden or shown by the policy code in checkPolicyVisibilityChange(), show() or hide(). Per the commit message, the client side can access the ViewRootImpl surface and change its visibility, so the server-side policy should control the surface the client cannot access (the WindowState surface). The commit's test scenario is an overlay window that should not be visible when Settings is launched.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings