CVE-2026-10593
Beschrijving NL
De Zephyr Bluetooth LE Audio Basic Audio Profile (BAP) unicast-client behandelt door collega's geleverde ASE-statusmeldingen verkeerd. In unicast_client_ep_qos_state() (subsys/bluetooth/audio/bap_unicast_client.c) schrijft de handler aanvallergestuurde QoS-velden (interval, framing, phy, sdu, rtn, latency, pd) via de stream-qos-aanwijzer met alleen een stream != NULL guard. stream-qos is NULL voor elke stream die met codec is geconfigureerd via bt_bap_stream_config() maar nog niet is toegevoegd aan een unicast-groep (deze wordt alleen ingesteld door unicast_group_add_stream()). Een kwaadwillende of buggy externe ASCS-server, waarmee het lokale apparaat is verbonden als een BAP unicast-client, kan tijdens dat venster een GATT-melding verzenden waarin wordt aangekondigd dat de ASE de QoS-geconfigureerde status heeft bereikt terwijl het lokale eindpunt zich nog steeds in de codec-geconfigureerde status bevindt — een overgang die de dispatcher expliciet toestaat —, waardoor een schrijven via een nulwijzer en een crash (denial of service) worden veroorzaakt. De geschreven gegevens worden zelf op afstand bestuurd. Het defect verzonden in v4.3.0 en v4.4.0 (en eerder). De fix verwijst alle BAP QoS-opslag opnieuw naar de altijd geldige ingesloten ep-qos-structuur, waardoor de null-dereferentie WORDT geëlimineerd.
Origineel (Engels) tonen
The Zephyr Bluetooth LE Audio Basic Audio Profile (BAP) unicast client mishandles peer-supplied ASE state notifications. In unicast_client_ep_qos_state() (subsys/bluetooth/audio/bap_unicast_client.c), the handler writes attacker-controlled QoS fields (interval, framing, phy, sdu, rtn, latency, pd) through the stream->qos pointer with only a stream != NULL guard. stream->qos is NULL for any stream that has been codec-configured via bt_bap_stream_config() but not yet added to a unicast group (it is set only by unicast_group_add_stream()).
A malicious or buggy remote ASCS server, to which the local device is connected as a BAP unicast client, can send a GATT notification announcing the ASE has entered the QoS Configured state while the local endpoint is still in the Codec Configured state — a transition the dispatcher explicitly permits — during that window, causing a write through a NULL pointer and a crash (denial of service). The data written is itself remote-controlled.
The defect shipped in v4.3.0 and v4.4.0 (and earlier). The fix re-points all BAP QoS storage to the always-valid embedded ep->qos struct, eliminating the NULL dereference.