5.5medium
Bluetooth: qca: fix NULL-deref on non-serdev suspend
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c1a74160eaf1ac218733b371158432b52601beff before 52f9041deaca3fc5c40ef3b9cb943993ec7d2489, from c1a74160eaf1ac218733b371158432b52601beff before e60502b907be350c518819297b565007a94c706d, from c1a74160eaf1ac218733b371158432b52601beff before 6b47cdeb786c38e4174319218db3fa6d7b4bba88, from c1a74160eaf1ac218733b371158432b52601beff before b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189, from c1a74160eaf1ac218733b371158432b52601beff before 73e87c0a49fda31d7b589edccf4c72e924411371, 5.13 Not affected: before 5.13, from 5.15.158 up to 5.15.*, from 6.1.90 up to 6.1.*, from 6.6.30 up to 6.6.*, from 6.8.9 up to 6.8.*, from 6.9 up to * | CVE List |
| linux linux_kernel | from 5.13 before 5.15.158, from 5.16 before 6.1.90, from 6.2 before 6.6.30, from 6.7 before 6.8.9, 6.9 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Bluetooth: qca: corrige NULL-deref en suspensión sin serdev. Los controladores Qualcomm ROME se pueden registrar desde la disciplina de línea Bluetooth y en este caso el puntero HCI UART serdev es NULL. Agregue la verificación de sanidad que falta para evitar una desreferencia del puntero NULL cuando se llama a wakeup() para un controlador que no es serdev durante la suspensión. Simplemente devuelva verdadero por ahora para restaurar el comportamiento original y solucionar el problema con los kernels anteriores a 6.2, que no tienen la confirmación e9b3e5b8c657 ("Bluetooth: hci_qca: solo asigna activación con soporte de puerto serie") que causa que el problema ya ocurra en el tiempo de configuración.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-35851 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-35851 changed 2026-06-17 | Public domain |