Bluetooth: hci_aml: validate firmware segment 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: hci_aml: validate firmware segment lengths
aml_download_firmware() reads two lengths from the firmware header and uses them to build pointers before checking that the header and segment data are present. A truncated or inconsistent firmware image can make the driver read past firmware->data while constructing TCI commands.
Reject images shorter than the header and ensure that the ICCM and DCCM ranges fit within the loaded firmware before downloading either segment.
From the CVE record · Linux
The Linux kernel's Bluetooth hci_aml driver does not validate firmware segment lengths before using them. If it loads a truncated or inconsistent firmware image, it can read past the firmware data while constructing TCI commands. The input does not specify how an attacker could supply such an image.
Engineers running Linux kernels with the Bluetooth hci_aml driver should check whether their kernel is affected; affected versions are not specified.