CVE-2025-37990

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

published May 20, 2025

CVSS
—
EPSS
0%
Percentile
13.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00237 · 13.9th percentile
Published
2025-05-20T17:18Z
EPSS history
Timeline
  • 20 MAY 17:18Z
    wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage()
    cvelistv5