Android security tags, read closely by Lightrion

CVE-2024-0025 AI-generated analysis

platform/frameworks/base, services/core ActivityManagerService (PendingIntent / IIntentSender dispatch)

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.

ActivityManagerService.sendIntentSender no longer forwards the caller-supplied allowlistToken to a target IIntentSender that is not a PendingIntentRecord; it passes null instead and logs a Slog.wtf when a non-null token was supplied on that path.

Root cause

In ActivityManagerService.sendIntentSender, when the target IIntentSender is not a PendingIntentRecord (the else branch, which the code comment describes as "someone has given us their own custom IIntentSender ... this isn't really a PendingIntent"), the code called target.send(code, intent, resolvedType, allowlistToken, null, requiredPermission, options) and passed the allowlistToken argument unchanged to the custom target. The code comment in the same branch notes that such an intent sender may come from outside the system, so the token could reach a party outside the system.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to May 2024 · Findings