Bluetooth: btintel: bound firmware ID by TLV length
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btintel: bound firmware ID by TLV length
The firmware ID is treated as a NUL-terminated string even though the TLV length is its only boundary. If the value does not contain a NUL terminator, snprintf() can read beyond the received response.
Limit the conversion to the advertised TLV value length.
From the CVE record · Linux
The Linux kernel Bluetooth btintel component treats a firmware ID as a NUL-terminated string even though its TLV length is the only boundary. If a received response lacks a NUL terminator, snprintf() can read beyond the response; the input does not specify attacker access or required interaction.
Engineers running the Linux kernel should check their Bluetooth btintel deployments; affected versions are not specified.