CVE-2024-26889Published Apr 17, 2024 · Apr 17Updated 2d ago
Bluetooth: hci_core: Fix possible buffer overflow
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ dcda165706b9fbfd685898d46a6749d7d397e0c0 · < a41c8efe659caed0e21422876bbb6b73c15b5244| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_core: Fix possible buffer overflow
struct hci_dev_info has a fixed size name[8] field so in the event that hdev->name is bigger than that strcpy would attempt to write past its size, so this fixes this problem by switching to use strscpy.
From the CVE record · Linux
The Linux kernel's Bluetooth hci_core can write past the fixed-size name field in hci_dev_info if hdev->name is longer than that field. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with the affected Bluetooth hci_core code should check their versions; affected versions are not specified.