Android security tags, read closely by Lightrion

CVE-2026-28574 AI-generated analysis

platform/packages/modules/Nfc, NfcNci card emulation (HostEmulationManager)

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

In HostEmulationManager.HostEmulationServiceConnection.onServiceConnected, when the HCE state is already STATE_IDLE and the connected service is not the preferred service, the fix now unbinds the service connection and removes its entry from mComponentNameToConnectionsMap. Before the fix, the code returned and left the binding alive.

Root cause

HostEmulationManager binds to a host card emulation service. If mState had already gone back to STATE_IDLE by the time onServiceConnected ran, and the component was no longer the preferred service, the code took an early return ("Service is already deactivated and not preferred, don't bind"). That early return neither called unbindService nor cleared the tracking entry in mComponentNameToConnectionsMap, so the binding the NFC service started stayed in place. The commit title says this left a permanent background activity launch (BAL) grant tied to the binding, which matches the EoP type in the bulletin.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings