Android security tags, read closely by Lightrion

CVE-2025-0079 AI-generated analysis

platform/packages/modules/Bluetooth, system/stack (AVDTP and AVCTP L2CAP channel setup)

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 an encryption requirement (BTA_SEC_ENCRYPT / BTM_SEC_OUT_ENCRYPT) next to the existing authentication requirement for the AVDTP and AVCTP L2CAP PSM registrations and outgoing connect requests in the Bluetooth stack.

Root cause

AVCTP (control PSM AVCT_PSM and browsing PSM AVCT_BR_PSM) and AVDTP (AVDT_PSM) registered their PSMs with L2CAP and made outgoing connect requests with only BTA_SEC_AUTHENTICATE (BTM_SEC_OUT_AUTHENTICATE for the outgoing AVDTP request). No encryption flag was set, so the requested security level for these channels did not include encryption. On Android 14, L2CA_Register2 passes sec_level to BTM_SetSecurityLevel (system/stack/l2cap/l2c_api.cc, per index search), so the missing flag affected the registered security level for incoming connections as well as the outgoing requests.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2025 · Findings