usb: cdnsp: fix stream context array leak in cdnsp_alloc_stream_info() (Linux Linux)

CVE-2026-64350
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: usb: cdnsp: fix stream context array leak in cdnsp_alloc_stream_info() cdnsp_alloc_stream_info() allocates stream_info->stream_ctx_array with cdnsp_alloc_stream_ctx(). If a later stream ring allocation or stream mapping update fails, the error path frees the allocated stream rings and stream_rings array, but leaves stream_ctx_array allocated. Free the stream context array before falling through to the stream_rings cleanup path.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

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 3d82904559f4f5a2622db1b21de3edf2eded7664 < 37283f5a47127fbdea567749a2110766af53d18d ; affected 3d82904559f4f5a2622db1b21de3edf2eded7664 < cb8e9391b7f4f77d112c51910cd7c355a337ef76 ; affected 3d82904559f4f5a2622db1b21de3edf2eded7664 < fde3c095e1d48e0ac3ab8bc32905da42fe58a36a ; affected 3d82904559f4f5a2622db1b21de3edf2eded7664 < d9643bbe93a6aee24edee1a86e0303aa74bcd320 ; affected 3d82904559f4f5a2622db1b21de3edf2eded7664 < c00826e87bb75e14e0381b05da5f18ffd0241ab6 ; affected 3d82904559f4f5a2622db1b21de3edf2eded7664 < 963075c4da0cd43b3d17b107c355e1eb0ee64a58
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.96 ≤ 6.12.*

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