Android security tags, read closely by Lightrion

CVE-2024-43080 AI-generated analysis

platform/packages/apps/Settings, users / app restrictions (AppRestrictionsFragment.RestrictionsResultReceiver)

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 Settings' AppRestrictionsFragment, the custom restrictions Intent received from an app's broadcast result extras is no longer launched as the raw deserialized object; startActivityForResult is given a fresh copy (new Intent(restrictionsIntent)) instead.

Root cause

RestrictionsResultReceiver.onReceive in src/com/android/settings/users/AppRestrictionsFragment.java reads an Intent (CUSTOM_RESTRICTIONS_INTENT) out of the result extras Bundle returned by the target app's restrictions broadcast and, when invokeIfCustom is set and the fragment is resumed, passed that exact object to AppRestrictionsFragment.this.startActivityForResult(restrictionsIntent, requestCode). Settings therefore launched an Intent object deserialized from another app's result rather than one it constructed itself. The commit message states only that a copy must be used instead of the raw Intent ("See bug"); the bug text is not part of the material.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2024 · Findings