Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_event: validate LE Set CIG Parameters response The Command Complete dispatch validates only the fixed part of the LE Set CIG Parameters response. After that part is pulled from the skb, hci_cc_le_set_cig_params() trusts num_handles and reads each entry in the trailing handle array. Matching num_handles against the command's num_cis does not guarantee that the response contains the advertised handles. A truncated response from a malfunctioning controller can therefore make the handler read beyond the skb data. Validate that the remaining skb data contains all advertised handles. Include this in the existing response validation so malformed responses also follow the established CIG failure handling.
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
26afbd826ee326e63a334c37fd45e82e50a615ec to < 9e05783d0bb96a7b853cc058a7c7de2dc4a62154affected26afbd826ee326e63a334c37fd45e82e50a615ec to < 26741d178f31932c9018b36b7953e6dc391436a4affected26afbd826ee326e63a334c37fd45e82e50a615ec to < a34df5c4a439cfc04565fa5be608ed1e53134f1faffected26afbd826ee326e63a334c37fd45e82e50a615ec to < e3f82e8f2a5915f533b57a065e9a045aa2ee03bcaffected26afbd826ee326e63a334c37fd45e82e50a615ec to < d83ecb7b96105d932dabaa56ccd7418c25fb7cbbaffected26afbd826ee326e63a334c37fd45e82e50a615ec to < 6fc540e835dddb518cef3ff522b780f701cd03dfaffected26afbd826ee326e63a334c37fd45e82e50a615ec to < 0acd4eeb4b225b9bebbf9ef96cc10cdd79b94899affected
Linux Linux
Default version status: affected
6.0affected0 to < 6.0unaffected6.1.187 to ≤ 6.1.*unaffected6.6.154 to ≤ 6.6.*unaffected6.12.106 to ≤ 6.12.*unaffected6.18.47 to ≤ 6.18.*unaffected7.1.11 to ≤ 7.1.*unaffected7.2.1 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/9e05783d0bb96a7b853cc058a7c7de2dc4a62154 ↗
- https://git.kernel.org/stable/c/26741d178f31932c9018b36b7953e6dc391436a4 ↗
- https://git.kernel.org/stable/c/a34df5c4a439cfc04565fa5be608ed1e53134f1f ↗
- https://git.kernel.org/stable/c/e3f82e8f2a5915f533b57a065e9a045aa2ee03bc ↗
- https://git.kernel.org/stable/c/d83ecb7b96105d932dabaa56ccd7418c25fb7cbb ↗
- https://git.kernel.org/stable/c/6fc540e835dddb518cef3ff522b780f701cd03df ↗
- https://git.kernel.org/stable/c/0acd4eeb4b225b9bebbf9ef96cc10cdd79b94899 ↗