Android security tags, read closely by Lightrion

CVE-2025-22426 AI-generated analysis

platform/frameworks/base, PackageManagerService (services/core/java/com/android/server/pm/ComputerEngine.java, content provider resolution)

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

Moves the mUserManager.exists(userId) check and updateFlagsForComponent() in ComputerEngine.resolveContentProvider so they run after the userId has been parsed out of the authority string, so a user id embedded in the provider name is validated before the provider is resolved.

Root cause

ComputerEngine.resolveContentProvider first checked mUserManager.exists(userId) and computed flags for the userId parameter. Only after that did it re-derive userId from the authority string via ContentProvider.getUserIdFromAuthority(name, userId), so the user id carried in the name was never checked for existence. According to the commit message, packageState.getUserStateOrDefault(userId) inside queryProvider then returned PackageUserStateInternal.DEFAULT, and an ApplicationInfo was obtained for a user that was never created. The commit message says this is not the intended behaviour.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings