Android security tags, read closely by Lightrion

CVE-2023-24023 AI-generated analysis

platform/packages/modules/Bluetooth, system/stack/btm (BTM security manager, btm_sec.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 (9 corrections). Verify against the commit before relying on it.

The Bluetooth stack now caches a bonded BR/EDR peer's Secure Connections support when its link key is notified. When peer security capabilities arrive on a new connection, it disconnects the link if the peer reports a downgrade from Secure Connections mode (a BLUFFS mitigation).

Root cause

In system/stack/btm/btm_sec.cc, btm_sec_set_peer_sec_caps took the sc_supported value the remote reported on each connection and went on to record the peer's capabilities (remote_feature_received and related fields) without comparing it to a value observed when the device was bonded. btm_sec_link_key_notification did not cache the bonded peer's Secure Connections support either. Nothing therefore rejected a reconnection on which a peer bonded with Secure Connections reported no Secure Connections support.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2025 · Findings