Android security tags, read closely by Lightrion

CVE-2026-58984 AI-generated analysis

platform/frameworks/native, libbinder Trusty RPC server (libs/binder/trusty/RpcServerTrusty); plus trusty/lib libtipc (lib/tipc/tipc_srv.c)

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.

Adds a destructor to RpcServerTrusty that tears down its registered TIPC service (new tipc_remove_service in trusty/lib) so the TIPC event loop no longer holds pointers into a freed RpcServerTrusty object.

Root cause

RpcServerTrusty::make registered &srv->mTipcPort (a tipc_port member of the RpcServerTrusty object, whose name field points into the member mPortName) with the TIPC service framework via tipc_add_service. The libtipc contract (tipc_srv.h) says the caller keeps ownership of the port structures and must keep them alive while the service is running. The framework keeps a tipc_port pointer in tipc_port_ctx::cfg and uses it from the event path (port_event_handler_proc -> handle_connect uses port->cfg->name). RpcServerTrusty had no destructor and no way to unregister the service, so after the object was destroyed the service stayed registered in the handle set and the event loop could read the freed port data.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings