Android security tags, read closely by Lightrion

CVE-2024-31319 AI-generated analysis

platform/frameworks/base, services/core notification (NotificationManagerService, privileged listener channel update)

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.

Adds a URI read-permission check in NotificationManagerService.updateNotificationChannelFromPrivilegedListener so a privileged (CDM) NotificationListenerService can only set a new channel sound URI that its own UID is allowed to read.

Root cause

updateNotificationChannelFromPrivilegedListener only called verifyPrivilegedListener(token, user, false) and then passed the caller-supplied NotificationChannel straight to updateNotificationChannelInt. The channel's sound URI (channel.getSound()) was accepted without checking that the calling UID has read access to that URI, so a privileged listener could store a content URI as a channel sound in another package's channel without holding permission for it.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2024 · Findings