Linux
Bluetooth: ISO: fix malformed ISO_END/CONT handling
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: ISO: fix malformed ISO_END/CONT handling Core specification (Part C vol 4 sec 5.4.5) does not exclude empty ISO_CONT, ISO_END packets. We currently reject them if they are last. If controller sends malformed sequence ISO_START -> rx_len = 4, ISO_CONT skb->len 4, ISO_START that ends payload in ISO_CONT, we leak conn->rx_skb. If controller sends too long ISO_END, we panic on skb_put. If controller sends too short ISO_END we accept it. Fix by marking unfinished ISO_START via conn->rx_skb != NULL. Check skb->len properly before skb_put. Combine the ISO_CONT/END code paths as they require the same initial checks. Reject too short ISO_END packets.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < d2df29dc9abda2fc10ff522eac0969f5b77b3637
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < 7250b6b5ba9b737cff2c2c1d0760360c7b6bca00
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < 49aeb54e3c912ef785311264a51ab9f3698e421b
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < 5e53e285f8c989662e34d4938c728a94226bff34
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < 990e65eb9387c4ddfa7f68782b6644c2c35d489f
- >= ccf74f2390d60a2f9a75ef496d2564abb478f46a, < e054c1a6ae7310d2815778fddb87da616e11c255
Fixed in d2df29dc9abda2fc10ff522eac0969f5b77b3637, 7250b6b5ba9b737cff2c2c1d0760360c7b6bca00, 49aeb54e3c912ef785311264a51ab9f3698e421b, 5e53e285f8c989662e34d4938c728a94226bff34, 990e65eb9387c4ddfa7f68782b6644c2c35d489f, e054c1a6ae7310d2815778fddb87da616e11c255
- 6.0
Fixed in 0, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.1.5, 7.2
Mitigation
Upgrade Linux to d2df29dc9abda2fc10ff522eac0969f5b77b3637 or 7250b6b5ba9b737cff2c2c1d0760360c7b6bca00 or 49aeb54e3c912ef785311264a51ab9f3698e421b or 5e53e285f8c989662e34d4938c728a94226bff34 or 990e65eb9387c4ddfa7f68782b6644c2c35d489f or e054c1a6ae7310d2815778fddb87da616e11c255 or later.
Upgrade Linux to 0 or 6.1.189 or 6.6.158 or 6.12.111 or 6.18.53 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.