Android security tags, read closely by Lightrion

CVE-2023-40095 AI-generated analysis

platform/frameworks/base, system_server PendingIntent sending options (services/core PendingIntentUtils; the commit title names the requestGeofence path)

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.

The fix makes PendingIntentUtils.createDontSendToRestrictedAppsBundle explicitly call setPendingIntentBackgroundActivityLaunchAllowed(false) on the BroadcastOptions it builds. PendingIntents that system_server sends with these options (the commit title names requestGeofence) can no longer be used to bypass background activity launch restrictions.

Root cause

createDontSendToRestrictedAppsBundle in services/core/java/com/android/server/PendingIntentUtils.java built BroadcastOptions that only called setDontSendToRestrictedApps(true). It did not call setPendingIntentBackgroundActivityLaunchAllowed(false). According to the commit title, this allowed a bypass of background activity launch restrictions via requestGeofence.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2023 · Findings