Android security tags, read closely by Lightrion

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

Removes the p_dev_rec->is_device_authenticated() conjunct from access_secure_service_from_temp_bond() in system/stack/btm/btm_sec.cc. The helper now flags any remote-initiated access to a service requiring incoming authentication from a temporarily bonded device, not only when the device record is already marked authenticated.

Root cause

access_secure_service_from_temp_bond() is the utility that tests whether an access to a secure service from a temporary bond is happening. Before the fix it returned true only when all four of these held: the request was not locally initiated, security_req had BTM_SEC_IN_AUTHENTICATE, p_dev_rec->is_device_authenticated() was true, and p_dev_rec->is_bond_type_temporary() was true. Because of the is_device_authenticated() conjunct, the helper did not detect a temporarily bonded remote device whose record was not marked authenticated. The commit describes this as a security bypass, and the bulletin rates it Critical EoP.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to March 2024 · Findings