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: <2025120435-CVE-2025-40264-4001@gregkh>
Date: Thu,  4 Dec 2025 16:57:45 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40264: be2net: pass wrb_params in case of OS2BMC

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

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

be2net: pass wrb_params in case of OS2BMC

be_insert_vlan_in_pkt() is called with the wrb_params argument being NULL
at be_send_pkt_to_bmc() call site.  This may lead to dereferencing a NULL
pointer when processing a workaround for specific packet, as commit
bc0c3405abbb ("be2net: fix a Tx stall bug caused by a specific ipv6
packet") states.

The correct way would be to pass the wrb_params from be_xmit().

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


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

	Issue introduced in 4.2 with commit 760c295e0e8d982917d004c9095cff61c0cbd803 and fixed in 5.4.302 with commit 48d59b60dd5d7e4c48c077a2008c9dcd7b59bdfe
	Issue introduced in 4.2 with commit 760c295e0e8d982917d004c9095cff61c0cbd803 and fixed in 6.6.118 with commit ce0a3699244aca3acb659f143c9cb1327b210f89
	Issue introduced in 4.2 with commit 760c295e0e8d982917d004c9095cff61c0cbd803 and fixed in 6.12.60 with commit 1ecd86ec6efddb59a10c927e8e679f183bb9113e
	Issue introduced in 4.2 with commit 760c295e0e8d982917d004c9095cff61c0cbd803 and fixed in 6.17.10 with commit 4c4741f6e7f2fa4e1486cb61e1c15b9236ec134d
	Issue introduced in 4.2 with commit 760c295e0e8d982917d004c9095cff61c0cbd803 and fixed in 6.18 with commit 7d277a7a58578dd62fd546ddaef459ec24ccae36

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-40264
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/ethernet/emulex/benet/be_main.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/48d59b60dd5d7e4c48c077a2008c9dcd7b59bdfe
	https://git.kernel.org/stable/c/ce0a3699244aca3acb659f143c9cb1327b210f89
	https://git.kernel.org/stable/c/1ecd86ec6efddb59a10c927e8e679f183bb9113e
	https://git.kernel.org/stable/c/4c4741f6e7f2fa4e1486cb61e1c15b9236ec134d
	https://git.kernel.org/stable/c/7d277a7a58578dd62fd546ddaef459ec24ccae36

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ