CVE-2024-35851

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-35851
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35851.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35851
Downstream
Related
Published
2024-05-17T14:47:28.787Z
Modified
2025-11-28T02:35:21.508588Z
Summary
Bluetooth: qca: fix NULL-deref on non-serdev suspend
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35851.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c1a74160eaf1ac218733b371158432b52601beff
Fixed
52f9041deaca3fc5c40ef3b9cb943993ec7d2489
Fixed
e60502b907be350c518819297b565007a94c706d
Fixed
6b47cdeb786c38e4174319218db3fa6d7b4bba88
Fixed
b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189
Fixed
73e87c0a49fda31d7b589edccf4c72e924411371

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
5.15.158
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.90
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.30
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.9