CVE-2025-37990
Summary
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.
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products we track (2)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: https://git.kernel.org/stable/c/08424a0922fb9e32a19b09d852ee87fb6c497538 ↗
Additional information
- NVD record
- https://git.kernel.org/stable/c/08424a0922fb9e32a19b09d852ee87fb6c497538Patch
- https://git.kernel.org/stable/c/508be7c001437bacad7b9a43f08a723887bcd1eaPatch
- https://git.kernel.org/stable/c/524b70441baba453b193c418e3142bd31059cc1fPatch
- https://git.kernel.org/stable/c/62a4f2955d9a1745bdb410bf83fb16666d8865d6Patch
- https://git.kernel.org/stable/c/8e089e7b585d95122c8122d732d1d5ef8f879396Patch
- https://git.kernel.org/stable/c/972bf75e53f778c78039c5d139dd47443a6d66a1Patch
- https://git.kernel.org/stable/c/bdb435ef9815b1ae28eefffa01c6959d0fcf1fa7Patch
- https://git.kernel.org/stable/c/fa9b9f02212574ee1867fbefb0a675362a71b31dPatch