Android security tags, read closely by Lightrion

CVE-2023-35657 AI-generated analysis

platform/packages/modules/Bluetooth, BTA AV state machine, system/bta/av/bta_av_aact.cc

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.

In bta_av_setconfig_rej (system/bta/av/bta_av_aact.cc), the peer address placed in the BTA AV reject callback data is now taken from the stream control block (p_scb->PeerAddress()) instead of reading p_data->str_msg.bd_addr from a union that the caller may not have populated as a tBTA_AV_STR_MSG.

Root cause

bta_av_setconfig_rej takes a tBTA_AV_DATA* union and reads p_data->str_msg.bd_addr, assuming the union was set up as a tBTA_AV_STR_MSG. Per the commit message, bta_av_config_ind in bta_av_aact.cc calls bta_av_setconfig_rej in some user journeys with p_data constructed as a tBTA_AV_CI_SETCONFIG, a valid but different union member, and the commit states this causes OOB access. The bulletin classifies the issue as information disclosure (ID).

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to May 2025 · Findings