{"id":"CVE-2025-37990","summary":"wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage()\n\nThe function brcmf_usb_dl_writeimage() calls the function\nbrcmf_usb_dl_cmd() but dose not check its return value. The\n'state.state' and the 'state.bytes' are uninitialized if the\nfunction brcmf_usb_dl_cmd() fails. It is dangerous to use\nuninitialized variables in the conditions.\n\nAdd error handling for brcmf_usb_dl_cmd() to jump to error\nhandling path if the brcmf_usb_dl_cmd() fails and the\n'state.state' and the 'state.bytes' are uninitialized.\n\nImprove the error message to report more detailed error\ninformation.","modified":"2026-03-20T12:42:37.662100Z","published":"2025-05-20T17:18:45.366Z","related":["MGASA-2025-0182","MGASA-2025-0183","SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37990.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08424a0922fb9e32a19b09d852ee87fb6c497538"},{"type":"WEB","url":"https://git.kernel.org/stable/c/508be7c001437bacad7b9a43f08a723887bcd1ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/524b70441baba453b193c418e3142bd31059cc1f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/62a4f2955d9a1745bdb410bf83fb16666d8865d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e089e7b585d95122c8122d732d1d5ef8f879396"},{"type":"WEB","url":"https://git.kernel.org/stable/c/972bf75e53f778c78039c5d139dd47443a6d66a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bdb435ef9815b1ae28eefffa01c6959d0fcf1fa7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa9b9f02212574ee1867fbefb0a675362a71b31d"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37990.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37990"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"71bb244ba2fd5390eefe4ee9054abdb3f8b05922"},{"fixed":"972bf75e53f778c78039c5d139dd47443a6d66a1"},{"fixed":"62a4f2955d9a1745bdb410bf83fb16666d8865d6"},{"fixed":"508be7c001437bacad7b9a43f08a723887bcd1ea"},{"fixed":"524b70441baba453b193c418e3142bd31059cc1f"},{"fixed":"08424a0922fb9e32a19b09d852ee87fb6c497538"},{"fixed":"bdb435ef9815b1ae28eefffa01c6959d0fcf1fa7"},{"fixed":"fa9b9f02212574ee1867fbefb0a675362a71b31d"},{"fixed":"8e089e7b585d95122c8122d732d1d5ef8f879396"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37990.json"}}],"schema_version":"1.7.5"}