CVE-2024-35851 Bluetooth: qca: fix NULL-deref on non-serdev suspend
A missing sanity check in the Linux kernel Bluetooth driver causes a null pointer dereference and system crash during suspend for specific Qualcomm controllers.
- 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-35851?
CVE-2024-35851 is a medium-severity vulnerability in Linux kernel, published on 17 May 2024. 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: qca: fix NULL-deref on non-serdev suspend
Qualcomm ROME controllers can be registered from the Bluetooth line discipline and in this case the HCI UART serdev pointer is NULL.
Add the missing sanity check to prevent a NULL-pointer dereference when wakeup() is called for a non-serdev controller during suspend.
Just return true for now to restore the original behaviour and address the crash with pre-6.2 kernels, which do not have commit e9b3e5b8c657 ("Bluetooth: hci_qca: only assign wakeup with serial port support") that causes the crash to happen already at setup() time.
Weakness: CWE-476
Which versions are affected by CVE-2024-35851?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-35851?
Apply the vendor's patch.
Is CVE-2024-35851 being exploited?
There is no known exploitation of CVE-2024-35851 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-35851, DEBIAN-CVE-2024-35851, GHSA-6579-jp4w-xm59, UBUNTU-CVE-2024-35851.