CVE-2025-37990 wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage()

Medium 5.5 Published Updated

A missing error check in the Broadcom Wi-Fi USB driver allows uninitialized variables to be used, potentially causing a kernel crash or denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-37990?

CVE-2025-37990 is a medium-severity vulnerability in Debian Debian Linux, published on 20 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-908

Which versions are affected by CVE-2025-37990?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-37990?

Apply the vendor's patch.

Is CVE-2025-37990 being exploited?

There is no known exploitation of CVE-2025-37990 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-37990, DEBIAN-CVE-2025-37990, GHSA-fhrm-6xxc-qc49, ROOT-OS-DEBIAN-11-CVE-2025-37990, ROOT-OS-DEBIAN-12-CVE-2025-37990, ROOT-OS-UBUNTU-2204-CVE-2025-37990 and 2 more.

Is CVE-2025-37990 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free