Bluetooth: hci_event: validate LE Set CIG Parameters response
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 26afbd826ee326e63a334c37fd45e82e50a615ec · < 6fc540e835dddb518cef3ff522b780f701cd03df| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s Bluetooth handler does not verify that an LE Set CIG Parameters response contains all its advertised handles. A truncated response from a malfunctioning controller can cause the handler to read beyond the response data. The input does not establish an attacker path or authentication or user-interaction requirements.
Engineers running Linux kernels with the affected Bluetooth handler should check their kernel versions against the vendor advisory; affected versions are not specified.