Android security tags, read closely by Lightrion

CVE-2026-58886 AI-generated analysis

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

Moves PiP input consumer activation in InputMonitor out of the per-window accept() loop into updateInputWindows(), keying it on the existence of a root pinned task so the consumer is shown even when the PiP window has no input channel.

Root cause

In InputMonitor.UpdateInputForAllWindowsConsumer, the PiP input consumer (INPUT_CONSUMER_PIP) was only configured and shown inside accept(WindowState w) when a window with w.inPinnedWindowingMode() was encountered during mDisplayContent.forAllWindows. Per the commit message, for a PiP window created with INPUT_FEATURE_NO_INPUT_CHANNEL, updateInputWindowsLw returns early and skips the activation logic. The Android 16/17 diff context shows a 'return;' right before the removed block, but its condition is not shown. For such a PiP window the PiP input consumer was not shown. Because PiP tasks are trusted overlays, touches could then pass through to underlying windows, defeating tapjacking protections such as BLOCK_UNTRUSTED_TOUCHES.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings