1. Accueil
  2. Vulnérabilités
  3. CVE-2025-68288

CVE-2025-68288

usb: storage: Fix memory leak in USB bulk transport

Publiée le 16 déc. 2025 · modifiée le 13 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 13/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: usb: storage: Fix memory leak in USB bulk transport A kernel memory leak was identified by the 'ioctl_sg01' test from Linux Test Project (LTP). The following bytes were mainly observed: 0x53425355. When USB storage devices incorrectly skip the data phase with status data, the code extracts/validates the CSW from the sg buffer, but fails to clear it afterwards. This leaves status protocol data in srb's transfer buffer, such as the US_BULK_CS_SIGN 'USBS' signature observed here. Thus, this can lead to USB protocols leaks to user space through SCSI generic (/dev/sg*) interfaces, such as the one seen here when the LTP test requested 512 KiB. Fix the leak by zeroing the CSW data in srb's transfer buffer immediately after the validation of devices that skip data phase. Note: Differently from CVE-2018-1000204, which fixed a big leak by zero- ing pages at allocation time, this leak occurs after allocation, when USB protocol data is written to already-allocated sg pages.

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

Produits et versions affectés

Linux (7 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 3.16.58 (inclus) à 3.17 (exclu) — CNA (éditeur ou attributeur)
Linux de 3.18.110 (inclus) à 3.19 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.4.133 (inclus) à 4.5 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.9.103 (inclus) à 4.10 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.14.44 (inclus) à 4.15 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.16.12 (inclus) à 4.17 (exclu) — CNA (éditeur ou attributeur)
Linux 4.17 — CNA (éditeur ou attributeur)

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
CNA (éditeur ou attributeur)

Comment sont obtenues et calculées ces données