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

CVE-2024-42236

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: configfs: Prevent OOB…

Publiée le 7 août 2024 · modifiée le 4 août 2026 · Sources : NVD, EPSS (FIRST)

Faible 26/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: configfs: Prevent OOB read/write in usb_string_copy() Userspace provided string 's' could trivially have the length zero. Left unchecked this will firstly result in an OOB read in the form `if (str[0 - 1] == '\n') followed closely by an OOB write in the form `str[0 - 1] = '\0'`. There is already a validating check to catch strings that are too long. Let's supply an additional check for invalid strings that are too short.

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

Produits et versions affectés

Linux (7 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel avant 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

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
CWE-787 · Corruption mémoire

Comment sont obtenues et calculées ces données