CVE-2024-35851

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*

History

30 Dec 2024, 18:10

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
CWE CWE-476
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489 - () https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489 - Patch
References () https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88 - () https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88 - Patch
References () https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371 - () https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371 - Patch
References () https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189 - () https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189 - Patch
References () https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d - () https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d - Patch

21 Nov 2024, 09:21

Type Values Removed Values Added
Summary
  • (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 () https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489 - () https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489 -
References () https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88 - () https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88 -
References () https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371 - () https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371 -
References () https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189 - () https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189 -
References () https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d - () https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d -

17 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-17 15:15

Updated : 2024-12-30 18:10


NVD link : CVE-2024-35851

Mitre link : CVE-2024-35851

CVE.ORG link : CVE-2024-35851


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference