Bluetooth: hci_sync: reject oversized Broadcast Announcement prepend
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5725bc608252050ed8a4d47d59225b7dd73474c8 · < 5c65b96b549ea2dcfde497436bf9e048deb87758| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_sync: reject oversized Broadcast Announcement prepend
Existing advertising instances can already hold the maximum extended advertising payload. When hci_adv_bcast_annoucement() prepends the Broadcast Announcement service data to that payload, the combined data may no longer fit in the temporary buffer used to rebuild the advertising data.
Reject that case before copying the existing payload and report the failure through the device log. This keeps the existing advertising data intact and avoids overrunning the temporary buffer.
From the CVE record · Linux
The Linux kernel’s Bluetooth hci_sync code can overrun a temporary buffer when it prepends Broadcast Announcement service data to an advertising payload that is already at the maximum size. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running the Linux kernel should check their Bluetooth configurations; affected versions are not specified.