Android security tags, read closely by Lightrion

CVE-2023-40079 AI-generated analysis

platform/frameworks/base, services/core ShortcutService (requestPinAppWidget callback 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 (3 corrections). Verify against the commit before relying on it.

ShortcutService now sends the client-supplied callback IntentSender with ActivityOptions that set MODE_BACKGROUND_ACTIVITY_START_DENIED, so the PendingIntent no longer benefits from system_server's background-activity-launch privilege.

Root cause

In services/core/java/com/android/server/pm/ShortcutService.java (hunk at ~line 4407), the service calls intentSender.sendIntent(mContext, 0, extras, null, null) on an IntentSender supplied by a client (per the commit message, the callback PendingIntent passed into AppWidgetManager.requestPinAppWidget). Because the send originates from system_server, the PendingIntent could bypass background activity launch (BAL) checks (per the commit message). No ActivityOptions were passed with the send.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2023 · Findings