CVEvulnerability
CVE-2024-35851
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-17
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 5.13 < 5.15.158)
• linux linux kernel (>= 5.16 < 6.1.90)
• linux linux kernel (>= 6.2 < 6.6.30)
• linux linux kernel (>= 6.7 < 6.8.9)
• linux linux kernel 6.9
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489 Patch
- https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88 Patch
- https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371 Patch
- https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189 Patch
- https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d Patch
- https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489 Patch
- https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88 Patch
- https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371 Patch
- https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189 Patch
- https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d Patch