What’s Vulnerable › Vulnerabilities
CVE-2024-57988: Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-27 · updated 2026-06-17
- Weakness: CWE-476
Description
In 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.
Affected products
- Linux kernel: from 6.9 before 6.12.13; from 6.13 before 6.13.2 — fixed in 6.12.13, 6.13.2
How to fix
Upgrade to a fixed version: Linux kernel 6.12.13, 6.13.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/74af8b9d0e79deefd2d43e14b84575839a849169
- https://git.kernel.org/stable/c/b88655bc6593c6a7fdc1248b212d17e581c4334e
- https://git.kernel.org/stable/c/df2f2d9199e61819cca5da0121dfa4d4cb57000f
Get alerted when CVE-2024-57988 or the next vulnerability affects your stack