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.
Metrics
Affected Vendors & Products
| Source | ID | Title | 
|---|---|---|
  Debian DLA | 
                DLA-4271-1 | linux-6.1 security update | 
  Debian DLA | 
                DLA-4327-1 | linux security update | 
  Debian DSA | 
                DSA-5925-1 | linux security update | 
  EUVD | 
                EUVD-2025-15875 | 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. | 
  Ubuntu USN | 
                USN-7649-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7649-2 | Linux kernel (AWS) vulnerabilities | 
  Ubuntu USN | 
                USN-7650-1 | Linux kernel (OEM) vulnerabilities | 
  Ubuntu USN | 
                USN-7654-1 | Linux kernel vulnerabilities | 
  Ubuntu USN | 
                USN-7654-2 | Linux kernel (Real-time) vulnerabilities | 
  Ubuntu USN | 
                USN-7654-3 | Linux kernel (FIPS) vulnerabilities | 
  Ubuntu USN | 
                USN-7654-4 | Linux kernel (KVM) vulnerabilities | 
  Ubuntu USN | 
                USN-7654-5 | Linux kernel (Xilinx ZynqMP) vulnerabilities | 
  Ubuntu USN | 
                USN-7655-1 | Linux kernel (Intel IoTG) vulnerabilities | 
  Ubuntu USN | 
                USN-7665-1 | Linux kernel (Oracle) vulnerabilities | 
  Ubuntu USN | 
                USN-7665-2 | Linux kernel (AWS) vulnerabilities | 
  Ubuntu USN | 
                USN-7686-1 | Linux kernel (Raspberry Pi) vulnerabilities | 
  Ubuntu USN | 
                USN-7711-1 | Linux kernel (Azure) vulnerabilities | 
  Ubuntu USN | 
                USN-7712-1 | Linux kernel (Azure FIPS) vulnerabilities | 
  Ubuntu USN | 
                USN-7712-2 | Linux kernel (Azure) vulnerabilities | 
  Ubuntu USN | 
                USN-7721-1 | Linux kernel (Azure) vulnerabilities | 
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Mon, 03 Nov 2025 20:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | 
Mon, 03 Nov 2025 18:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | 
Mon, 14 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | 
        
        
        epss
         
  | 
    
        
        
        epss
         
  | 
Wed, 09 Jul 2025 02:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Metrics | 
        
        
        cvssV3_1
         
  | 
    
        
        
        cvssV3_1
         
  | 
Wed, 04 Jun 2025 13:00:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | 
Thu, 22 May 2025 02:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
         | |
| Metrics | 
        
        
        threat_severity
         
  | 
    
        
        cvssV3_1
         
 
  | 
Tue, 20 May 2025 17:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| 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. | |
| Title | wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage() | |
| References | 
         | 
        
  | 
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2025-11-03T19:58:03.822Z
Reserved: 2025-04-16T04:51:23.976Z
Link: CVE-2025-37990
No data.
Status : Awaiting Analysis
Published: 2025-05-20T18:15:45.883
Modified: 2025-11-03T20:18:44.830
Link: CVE-2025-37990
                        OpenCVE Enrichment
                    Updated: 2025-06-24T09:44:22Z
 Debian DLA
 Debian DSA
 EUVD
 Ubuntu USN