Android security tags, read closely by Lightrion

CVE-2026-59020 AI-generated analysis

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

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

DevicePolicyManagerService now deletes the device-global ownership-transfer metadata file during removeUserData() when that file refers to the user being removed, so a stale journal cannot survive the removal of the profile it points to and trigger an unguarded boot-time revert that crash-loops system_server.

Root cause

The ownership-transfer metadata file managed by mTransferOwnershipMetadataManager is device-global and records a userId. When the user it referenced was removed, removeUserData() cleared mOwners, mUserData, user restrictions and the per-user device_policies.xml, but never touched the transfer metadata file. Per the commit message, a profile owner could leave such a file pointing at its own profile (via a race in transferOwnership()) and then wipe the profile; at boot an unguarded revert attempt then threw an uncaught exception, producing a persistent system_server crash loop. The boot-time revert code itself is not part of the provided diff.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings