lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025052000-CVE-2025-37990-62bd@gregkh>
Date: Tue, 20 May 2025 19:17:01 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-37990: wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage()

From: Greg Kroah-Hartman <gregkh@...nel.org>

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.

The Linux kernel CVE team has assigned CVE-2025-37990 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 3.4 with commit 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 and fixed in 5.15.182 with commit 508be7c001437bacad7b9a43f08a723887bcd1ea
	Issue introduced in 3.4 with commit 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 and fixed in 6.1.138 with commit 524b70441baba453b193c418e3142bd31059cc1f
	Issue introduced in 3.4 with commit 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 and fixed in 6.6.90 with commit 08424a0922fb9e32a19b09d852ee87fb6c497538
	Issue introduced in 3.4 with commit 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 and fixed in 6.12.28 with commit bdb435ef9815b1ae28eefffa01c6959d0fcf1fa7
	Issue introduced in 3.4 with commit 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 and fixed in 6.14.6 with commit fa9b9f02212574ee1867fbefb0a675362a71b31d
	Issue introduced in 3.4 with commit 71bb244ba2fd5390eefe4ee9054abdb3f8b05922 and fixed in 6.15-rc5 with commit 8e089e7b585d95122c8122d732d1d5ef8f879396

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-37990
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/508be7c001437bacad7b9a43f08a723887bcd1ea
	https://git.kernel.org/stable/c/524b70441baba453b193c418e3142bd31059cc1f
	https://git.kernel.org/stable/c/08424a0922fb9e32a19b09d852ee87fb6c497538
	https://git.kernel.org/stable/c/bdb435ef9815b1ae28eefffa01c6959d0fcf1fa7
	https://git.kernel.org/stable/c/fa9b9f02212574ee1867fbefb0a675362a71b31d
	https://git.kernel.org/stable/c/8e089e7b585d95122c8122d732d1d5ef8f879396

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ