Android security tags, read closely by Lightrion

CVE-2024-49737 AI-generated analysis

platform/frameworks/base, WindowManager (services/core/java/com/android/server/wm: WindowOrganizerController, ActivityStartController)

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

In WindowOrganizerController, the OP_TYPE_START_ACTIVITY_IN_TASK_FRAGMENT handler now builds a SafeActivityOptions from the operation's options Bundle using the actual caller's pid/uid (caller.mPid, caller.mUid), and ActivityStartController.startActivityInTaskFragment now takes that SafeActivityOptions instead of a raw Bundle.

Root cause

Per the commit message, WindowOrganizerController clears the calling uid before applying the WindowContainerTransaction, but SafeActivityOptions queries the Binder uid when it is constructed. Before the fix, the OP_TYPE_START_ACTIVITY_IN_TASK_FRAGMENT case passed the raw options Bundle (operation.getBundle()) to ActivityStartController.startActivityInTaskFragment, so the options were not explicitly tied to the actual caller's uid/pid.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to January 2025 · Findings