Android security tags, read closely by Lightrion

CVE-2025-0078 AI-generated analysis

platform/frameworks/native, cmds/servicemanager (binder service manager)

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

servicemanager now calls setRequestingSid(true) on its own ServiceManager object before it registers itself as the "manager" service, so the flags on the self-registered object match the special flags used for the context object.

Root cause

In cmds/servicemanager/main.cpp main(), one ServiceManager instance (built with std::make_unique<Access>()) is registered as a normal service named "manager" through manager->addService("manager", manager, ...). The same instance is then made the binder context object (setTheContextObject, becomeContextManager). The commit message says servicemanager has special flags set to become a context object, but these were not set when it registers as itself. Before the fix, setRequestingSid(true) was not called on the object before self-registration.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2025 · Findings