CVE-2025-37990
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 before 972bf75e53f778c78039c5d139dd47443a6d66a1, from 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 before 62a4f2955d9a1745bdb410bf83fb16666d8865d6, from 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 before 508be7c001437bacad7b9a43f08a723887bcd1ea, from 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 before 524b70441baba453b193c418e3142bd31059cc1f, from 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 before 08424a0922fb9e32a19b09d852ee87fb6c497538, from 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 before bdb435ef9815b1ae28eefffa01c6959d0fcf1fa7, from 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 before fa9b9f02212574ee1867fbefb0a675362a71b31d, from 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 before 8e089e7b585d95122c8122d732d1d5ef8f879396 and 1 more
Not affected: before 3.4, from 5.4.294 up to 5.4.*, from 5.10.238 up to 5.10.*, from 5.15.182 up to 5.15.*, from 6.1.138 up to 6.1.*, from 6.6.90 up to 6.6.*
CVE List
linux linux_kernelfrom 3.4 before 5.4.294, from 5.5 before 5.10.238, from 5.11 before 5.15.182, from 5.16 before 6.1.138, from 6.2 before 6.6.90, from 6.7 before 6.12.28, from 6.13 before 6.14.6, 6.15NVD
debian debian_linux11.0NVD

Classification

CWE-908

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: brcm80211: fmac: Añadir gestión de errores para brcmf_usb_dl_writeimage() La función brcmf_usb_dl_writeimage() llama a la función brcmf_usb_dl_cmd() pero no comprueba su valor de retorno. 'state.state' y 'state.bytes' no se inicializan si la función brcmf_usb_dl_cmd() falla. Es peligroso utilizar variables no inicializadas en las condiciones. Añadir gestión de errores para brcmf_usb_dl_cmd() para saltar a la ruta de gestión de errores si brcmf_usb_dl_cmd() falla y 'state.state' y 'state.bytes' no se inicializan. Mejorar el mensaje de error para informar de errores más detallados.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-37990 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-37990 changed 2026-11-05Public domain