Android security tags, read closely by Lightrion

CVE-2024-40653 AI-generated analysis

platform/packages/services/Telecomm, ConnectionServiceWrapper (ConnectionService binding / call creation)

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.

Telecom's ConnectionServiceWrapper now schedules a 15 second timeout when it asks a bound ConnectionService to create a connection or conference. If the app never completes creation, the request is failed with DisconnectCause.ERROR. Per the commit message, this lets Telecom unbind the service instead of keeping it bound indefinitely.

Root cause

ConnectionServiceWrapper.createConnection() and createConference() send createConnection/createConference to the app's ConnectionService over mServiceInterface. They then wait for the app to call back handleCreateConnectionComplete/handleCreateConferenceComplete on the Adapter. That callback had no deadline, so if the app never created the connection the binding was never released. Per the commit message, this let a malicious app keep a declared permission forever, even in the background.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to April 2025 · Findings