Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ccf74f2390d60a2f9a75ef496d2564abb478f46a to < d2df29dc9abda2fc10ff522eac0969f5b77b3637affectedccf74f2390d60a2f9a75ef496d2564abb478f46a to < 7250b6b5ba9b737cff2c2c1d0760360c7b6bca00affectedccf74f2390d60a2f9a75ef496d2564abb478f46a to < 49aeb54e3c912ef785311264a51ab9f3698e421baffectedccf74f2390d60a2f9a75ef496d2564abb478f46a to < 5e53e285f8c989662e34d4938c728a94226bff34affectedccf74f2390d60a2f9a75ef496d2564abb478f46a to < 990e65eb9387c4ddfa7f68782b6644c2c35d489faffectedccf74f2390d60a2f9a75ef496d2564abb478f46a to < e054c1a6ae7310d2815778fddb87da616e11c255affected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/d2df29dc9abda2fc10ff522eac0969f5b77b3637 ↗
- https://git.kernel.org/stable/c/7250b6b5ba9b737cff2c2c1d0760360c7b6bca00 ↗
- https://git.kernel.org/stable/c/49aeb54e3c912ef785311264a51ab9f3698e421b ↗
- https://git.kernel.org/stable/c/5e53e285f8c989662e34d4938c728a94226bff34 ↗
- https://git.kernel.org/stable/c/990e65eb9387c4ddfa7f68782b6644c2c35d489f ↗
- https://git.kernel.org/stable/c/e054c1a6ae7310d2815778fddb87da616e11c255 ↗