firmware: cs_dsp: Return error if block header overflows file (Linux Linux)

CVE-2024-42238
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: firmware: cs_dsp: Return error if block header overflows file Return an error from cs_dsp_power_up() if a block header is longer than the amount of data left in the file. The previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop while there was enough data left in the file for a valid region. This protected against overrunning the end of the file data, but it didn't abort the file processing with an error.

Faiblesses (CWE)

  • CWE-120 — Copie de tampon sans vérification de taille (débordement classique)

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 f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 < b8be70566b33abbd0180105070b4c67cfef8c44f ; affected f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 < 90ab191b7d181057d71234e8632e06b5844ac38e ; affected f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 < 6eabd23383805725eff416c203688b7a390d4153 ; affected f6bc909e7673c30abcbdb329e7d0aa2e83c103d7 < 959fe01e85b7241e3ec305d657febbe82da16a02
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.100 ≤ 6.1.* ; unaffected 6.6.41 ≤ 6.6.* ; unaffected 6.9.10 ≤ 6.9.* ; unaffected 6.10 ≤ *

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