Android security tags, read closely by Lightrion

CVE-2023-40081 AI-generated analysis

platform/frameworks/base, SystemUI media controls (MediaDataManager) plus UriGrantsManagerService / IUriGrantsManager

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

SystemUI's MediaDataManager now asks UriGrantsManagerService, through a new hidden binder method checkGrantUriPermission_ignoreNonSystem, whether the media app's uid may read a resumable media artwork URI before SystemUI loads that bitmap.

Root cause

In packages/SystemUI/src/com/android/systemui/media/controls/pipeline/MediaDataManager.kt, the resumption path (the "adding track for $userId from browser" code that builds MediaData from a MediaDescription) called loadBitmapFromUri(desc.iconUri!!) directly when desc.iconBitmap was null. It never checked whether the originating app (appUid/packageName) had read access to that URI.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2024 · Findings