Android security tags, read closely by Lightrion

CVE-2025-22436 AI-generated analysis

platform/frameworks/native, SurfaceFlinger (Layer / FrontEnd layer snapshot) input window info generation for InputDispatcher occlusion detection

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 (1 corrections). Verify against the commit before relying on it.

SurfaceFlinger now treats color-fill (dim) layers as needing input info, so they are included in the window list sent to InputDispatcher and counted in occlusion detection, closing a tapjacking gap.

Root cause

Layer::needsInputInfo() in services/surfaceflinger/Layer.h returned true only for layers that had input info or a buffer/sideband stream (and were not a potential cursor). A layer that only fills a solid color (fillsColor(), e.g. a dim layer) has no buffer, so no InputWindowHandle was generated for it. The comment on the function states these handles exist so InputDispatcher can do PID based occlusion detection. Because color layers were missing from that list, a color layer covering another window was invisible to the occlusion logic. On the Android 15 FrontEnd path, LayerSnapshotBuilder::updateInput also based the NO_INPUT_CHANNEL decision on the raw presence of requested.windowInfoHandle and overwrote inputConfig rather than OR-ing into it, and RequestedLayerState had no needsInputInfo/fillsColor notion.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings