NetSight
medium5.5

CVE-2025-37990

In the Linux kernel, the following vulnerability has been resolved: wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage() The function brcmf_…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 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
DebianDebian Linux
Version 11.0

Weakness classification

References