Android security tags, read closely by Lightrion

CVE-2025-48633 AI-generated analysis

platform/frameworks/base, DevicePolicyManagerService (services/devicepolicy)

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.

DevicePolicyManagerService.hasAccountsOnAnyUser() is changed to query AccountManagerService.getSingleton().getAllAccountsForSystemProcess() instead of iterating users and calling AccountManager.getAccounts(). Per the commit title, this makes it count all accounts regardless of visibility.

Root cause

hasAccountsOnAnyUser() cleared the calling identity, looped over mUserManagerInternal.getUsers(excludeDying=true), created a per-user context and called AccountManager.getAccounts(). The commit title ("Get all accounts no matter the visibility") indicates that this enumeration was affected by account visibility, so some existing accounts could be missed. The helper could then report no accounts while accounts existed. The material does not show which decision depends on this helper.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2025 · Findings