Bug 2367607 (CVE-2025-37990) - CVE-2025-37990 kernel: wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage()
Summary: CVE-2025-37990 kernel: wifi: brcm80211: fmac: Add error handling for brcmf_us...
Keywords:
Status: NEW
Alias: CVE-2025-37990
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-20 18:01 UTC by OSIDB Bzimport
Modified: 2025-05-21 05:44 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-20 18:01:33 UTC
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.

Comment 1 Avinash Hanwate 2025-05-21 05:37:18 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025052000-CVE-2025-37990-62bd@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.