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

CVE-2024-41035

In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix duplicate endpoint bug by…

Publiée le 29 juil. 2024 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Faible 28/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor Syzbot has identified a bug in usbcore (see the Closes: tag below) caused by our assumption that the reserved bits in an endpoint descriptor's bEndpointAddress field will always be 0. As a result of the bug, the endpoint_is_duplicate() routine in config.c (and possibly other routines as well) may believe that two descriptors are for distinct endpoints, even though they have the same direction and endpoint number. This can lead to confusion, including the bug identified by syzbot (two descriptors with matching endpoint numbers and directions, where one was interrupt and the other was bulk). To fix the bug, we will clear the reserved bits in bEndpointAddress when we parse the descriptor. (Note that both the USB-2.0 and USB-3.1 specs say these bits are "Reserved, reset to zero".) This requires us to make a copy of the descriptor earlier in usb_parse_endpoint() and use the copy instead of the original when checking for duplicates.

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

Produits et versions affectés

Linux (16 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 3.2.87 (inclus) à 3.3 (exclu) — NVD
Linux kernel de 3.10.106 (inclus) à 3.11 (exclu) — NVD
Linux kernel de 3.12.70 (inclus) à 3.13 (exclu) — NVD
Linux kernel de 3.16.42 (inclus) à 3.17 (exclu) — NVD
Linux kernel de 4.1.39 (inclus) à 4.2 (exclu) — NVD
Linux kernel de 4.4.42 (inclus) à 4.5 (exclu) — NVD
Linux kernel de 4.9.3 (inclus) à 4.10 (exclu) — NVD
Linux kernel de 4.10.1 (inclus) à 4.19.318 (exclu) — NVD
Linux kernel de 4.20 (inclus) à 5.4.280 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.222 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.163 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.100 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.41 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.9.10 (exclu) — NVD
Linux kernel 4.10 — NVD
Linux kernel 6.10 — 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)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
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
NVD-CWE-noinfo · Non classé

Comment sont obtenues et calculées ces données