Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
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 |
|
|
6.12.136.13.26.14In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
devm_kstrdup() can return a NULL pointer on failure,but this returned value in btbcm_get_board_name() is not checked. Add NULL check in btbcm_get_board_name(), to handle kernel NULL pointer dereference error.
From the CVE record · Linux
In the Linux kernel’s Bluetooth btbcm component, btbcm_get_board_name() does not check whether devm_kstrdup() returns NULL on failure, resulting in a kernel NULL pointer dereference. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their version contains this issue; affected versions are not specified.