Bluetooth: qca: fix NULL-deref on non-serdev suspend (Linux Linux)

CVE-2024-35851
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 14 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected c1a74160eaf1ac218733b371158432b52601beff < 52f9041deaca3fc5c40ef3b9cb943993ec7d2489 ; affected c1a74160eaf1ac218733b371158432b52601beff < e60502b907be350c518819297b565007a94c706d ; affected c1a74160eaf1ac218733b371158432b52601beff < 6b47cdeb786c38e4174319218db3fa6d7b4bba88 ; affected c1a74160eaf1ac218733b371158432b52601beff < b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189 ; affected c1a74160eaf1ac218733b371158432b52601beff < 73e87c0a49fda31d7b589edccf4c72e924411371
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.158 ≤ 5.15.* ; unaffected 6.1.90 ≤ 6.1.* ; unaffected 6.6.30 ≤ 6.6.* ; unaffected 6.8.9 ≤ 6.8.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD