Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-37990

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 to < 972bf75e53f778c78039c5d139dd47443a6d66a1affected
  • 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 to < 62a4f2955d9a1745bdb410bf83fb16666d8865d6affected
  • 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 to < 508be7c001437bacad7b9a43f08a723887bcd1eaaffected
  • 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 to < 524b70441baba453b193c418e3142bd31059cc1faffected
  • 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 to < 08424a0922fb9e32a19b09d852ee87fb6c497538affected
  • 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 to < bdb435ef9815b1ae28eefffa01c6959d0fcf1fa7affected
  • 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 to < fa9b9f02212574ee1867fbefb0a675362a71b31daffected
  • 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 to < 8e089e7b585d95122c8122d732d1d5ef8f879396affected

Linux Linux

Default version status: affected

  • 3.4affected
  • 0 to < 3.4unaffected
  • 5.4.294 to ≤ 5.4.*unaffected
  • 5.10.238 to ≤ 5.10.*unaffected
  • 5.15.182 to ≤ 5.15.*unaffected
  • 6.1.138 to ≤ 6.1.*unaffected
  • 6.6.90 to ≤ 6.6.*unaffected
  • 6.12.28 to ≤ 6.12.*unaffected
  • 6.14.6 to ≤ 6.14.*unaffected
  • 6.15 to ≤ *unaffected

References