Android security tags, read closely by Lightrion

CVE-2025-48525 AI-generated analysis

platform/frameworks/base, services/companion (CompanionDeviceManagerService / DisassociationProcessor)

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.

When a package's last companion association for a user is removed, the companion device service now revokes notification listener (NLS) access for all of that package's NotificationListenerService components.

Root cause

When an association was removed, nothing revoked notification listener access. On Android 14 the CHANGE_TYPE_REMOVED branch in CompanionDeviceManagerService only called markIdAsPreviouslyUsedForPackage. On 15/16, DisassociationProcessor.disassociate() removed the association and revoked the device-profile role, but not NLS access. The 15/16 diffs delete a comment "// TODO: also revoke notification access" above disassociate(), so the gap was already known. A package could therefore keep NLS access after it no longer had any companion association.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2025 · Findings