Bluetooth: btintel: validate version TLV value lengths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btintel: validate version TLV value lengths
btintel_parse_version_tlv() verifies that a complete TLV is present in the response, but it does not ensure that the value is long enough for the specific TLV type. A short value can therefore cause an out-of-bounds read through get_unaligned_le16(), get_unaligned_le32(), or memcpy().
Reject values shorter than the minimum required by each known TLV type. Also reject responses that do not contain the Command Complete Status field.
From the CVE record · Linux
The Linux kernel’s btintel_parse_version_tlv() does not check that version TLV values are long enough for their types. A short value can cause an out-of-bounds read. The input does not specify how an attacker could supply such a value or whether authentication or user interaction is required.
Engineers running the Linux kernel should check whether their builds include the Bluetooth btintel component; affected versions are not specified.