1. Accueil
  2. Vulnérabilités
  3. CVE-2024-58009

CVE-2024-58009

Bluetooth: L2CAP: handle NULL sock pointer in l2cap_sock_alloc

Publiée le 27 févr. 2025 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 25/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: handle NULL sock pointer in l2cap_sock_alloc A NULL sock pointer is passed into l2cap_sock_alloc() when it is called from l2cap_sock_new_connection_cb() and the error handling paths should also be aware of it. Seemingly a more elegant solution would be to swap bt_sock_alloc() and l2cap_chan_create() calls since they are not interdependent to that moment but then l2cap_chan_create() adds the soon to be deallocated and still dummy-initialized channel to the global list accessible by many L2CAP paths. The channel would be removed from the list in short period of time but be a bit more straight-forward here and just check for NULL instead of changing the order of function calls. Found by Linux Verification Center (linuxtesting.org) with SVACE static analysis tool.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (14 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 5.4.287 (inclus) à 5.4.291 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.10.231 (inclus) à 5.10.235 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.174 (inclus) à 5.15.179 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.120 (inclus) à 6.1.129 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.6.66 (inclus) à 6.6.78 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.12.5 (inclus) à 6.12.14 (exclu) — CNA (éditeur ou attributeur)
Linux 6.13 — CNA (éditeur ou attributeur)
Linux kernel de 5.4.287 (inclus) à 5.4.291 (exclu) — NVD
Linux kernel de 5.10.231 (inclus) à 5.10.235 (exclu) — NVD
Linux kernel de 5.15.174 (inclus) à 5.15.179 (exclu) — NVD
Linux kernel de 6.1.120 (inclus) à 6.1.129 (exclu) — NVD
Linux kernel de 6.6.66 (inclus) à 6.6.78 (exclu) — NVD
Linux kernel de 6.12.5 (inclus) à 6.12.14 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.13.3 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1298)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-476 · Corruption mémoire

Comment sont obtenues et calculées ces données