Bluetooth: btintel: fix buffer over-read in btintel_hw_error()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 973bb97e5aee56edddaae3d5c96877101ad509c0 · < c42ce5373405ca93946311652c51ccfeb1c2d913| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btintel: fix buffer over-read in btintel_hw_error()
The "Exception info %s" print uses skb->data + 1, but the 12-byte payload is not guaranteed to be NUL-terminated and can be read past its end.
Bound the print with "%.*s" and skb->len - 1.
From the CVE record · Linux
The Linux kernel’s btintel_hw_error() can read past the end of a Bluetooth exception-info payload when printing it because the payload may not be NUL-terminated. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the Bluetooth btintel component should check their deployments; affected versions are not specified.