Android security tags, read closely by Lightrion

CVE-2026-58989 AI-generated analysis

platform/frameworks/base, system_server OemLockService (services/core/java/com/android/server/oemlock)

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.

OemLockService's OEM unlock Binder method (the one that also checks isOemUnlockAllowedByAdmin()) now throws a SecurityException when PersistentDataBlockManager.isFactoryResetProtectionActive() reports Factory Reset Protection is active, before the admin-restriction check.

Root cause

In services/core/java/com/android/server/oemlock/OemLockService.java, the Binder method that enables OEM unlocking (running under Binder.clearCallingIdentity() and checking isOemUnlockAllowedByAdmin(), i.e. the DISALLOW_FACTORY_RESET restriction on the system user) did not check whether Factory Reset Protection (FRP) was active, so OEM unlocking could be allowed on a device that was still FRP-protected.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings