wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage() (Linux Linux)

CVE-2025-37990
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage() The function brcmf_usb_dl_writeimage() calls the function brcmf_usb_dl_cmd() but dose not check its return value. The 'state.state' and the 'state.bytes' are uninitialized if the function brcmf_usb_dl_cmd() fails. It is dangerous to use uninitialized variables in the conditions. Add error handling for brcmf_usb_dl_cmd() to jump to error handling path if the brcmf_usb_dl_cmd() fails and the 'state.state' and the 'state.bytes' are uninitialized. Improve the error message to report more detailed error information.

Faiblesses (CWE)

  • CWE-908 — Utilisation d'une ressource non initialisée

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 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 < 972bf75e53f778c78039c5d139dd47443a6d66a1 ; affected 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 < 62a4f2955d9a1745bdb410bf83fb16666d8865d6 ; affected 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 < 508be7c001437bacad7b9a43f08a723887bcd1ea ; affected 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 < 524b70441baba453b193c418e3142bd31059cc1f ; affected 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 < 08424a0922fb9e32a19b09d852ee87fb6c497538 ; affected 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 < bdb435ef9815b1ae28eefffa01c6959d0fcf1fa7
Linux · Linuxaffected 3.4 ; unaffected 0 < 3.4 ; unaffected 5.4.294 ≤ 5.4.* ; unaffected 5.10.238 ≤ 5.10.* ; unaffected 5.15.182 ≤ 5.15.* ; unaffected 6.1.138 ≤ 6.1.*

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