Android security tags, read closely by Lightrion

CVE-2023-40120 AI-generated analysis

platform/frameworks/base, SystemUI media controls (MediaDataManager)

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

SystemUI's MediaDataManager now treats blank (not only null) media titles as missing, falls through the existing fallbacks, and finally substitutes a new placeholder string "<app name> is running" when no title source is non-blank.

Root cause

In packages/SystemUI/src/com/android/systemui/media/MediaDataManager.kt, the song title was taken from MediaMetadata.METADATA_KEY_DISPLAY_TITLE, then METADATA_KEY_TITLE, then HybridGroupManager.resolveTitle(notif), but each fallback was gated on `song == null`. An app posting a media session whose title fields were empty strings or whitespace passed the null checks, so no fallback ran and the resulting MediaData.song was blank. There was also no final fallback when every source was absent, so the media control could be shown without a title identifying the app.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to October 2023 · Findings