CVE-2024-57988 Bluetooth: btbcm: Fix NULL deref in btbcm_get_board_name()
A missing NULL check in the Linux kernel Bluetooth driver can cause a kernel crash, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-57988?
CVE-2024-57988 is a medium-severity vulnerability in Linux kernel, published on 27 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2024-57988?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-57988?
Apply the vendor's patch.
Is CVE-2024-57988 being exploited?
There is no known exploitation of CVE-2024-57988 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-57988, DEBIAN-CVE-2024-57988, GHSA-9hqj-32ww-hgvj, UBUNTU-CVE-2024-57988.