Android security tags, read closely by Lightrion

CVE-2024-0048 AI-generated analysis

platform/frameworks/base, services/core accounts (AccountManagerService, system_server)

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

Schedules a 15 minute MESSAGE_TIMED_OUT message for every AccountManagerService.Session at construction, so that a session still open at timeout runs onTimedOut(), which calls getResponseAndClose() and reports an error to the caller.

Root cause

The Session constructor registers each session in mSessions (mSessions.put(toString(), this)) and links to the response binder's death. AccountManagerService already had MESSAGE_TIMED_OUT, Session.cancelTimeout() and Session.onTimedOut(), but the constructor did not schedule a timeout. As a result, a session that did not complete had no time bound set at creation.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2024 · Findings