Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C9DFE1D63D1 for ; Thu, 4 Dec 2025 16:08:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764864527; cv=none; b=IlDtbZgA+nYlTXZHeJudj16N5h2pU28umHJMjhTbcwE6BXTkVrKvLc7omW0CuRHbTvm2sHq4ZJPtFjwiUerybh6syiQpvCYZRkS9UgxUhZ4HodpktGicTjF4pMiayN/oIvynTA/rs+Lg3CVueJhUjlYpK+e50/mVWAW9oJYVWSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764864527; c=relaxed/simple; bh=VvwBbrJp2v9/zOcuui0j2qm+E7J9uoVrRI7P+n7JcOU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=LKuOVjOpE4iuMkhGGXBJXU4vVTZ9HMhWbZwGoHnus3H36OrZ4ysyM/tZPzRAbGsq0nD8R03wxecWUAjIDAV2kFUSrofMNlDj/uVzTM4o0IbBKiRMY9NRbfujXvDWIDyCWfzdPiT9qIz7FvCnI3/8MmTH+NSwa0NoLNBBwRkfKtw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R0rHlIsD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="R0rHlIsD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21419C4CEFB; Thu, 4 Dec 2025 16:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1764864527; bh=VvwBbrJp2v9/zOcuui0j2qm+E7J9uoVrRI7P+n7JcOU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=R0rHlIsDIGJbRAJO6v7FsE6QQMqIlzeg7LyNEXMNfwcWvUCcpAidPJ8dgLl3Sskz5 oBh8yawLp2fxV4S2/Sl9AxbmHfdC73M5LrM7t4w4akrXYKy3e+JYNN21AbscfMORxl nyxXwZqTAbUbl8e/oY6aWBl63mBBFUKhI4XVx+WI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40264: be2net: pass wrb_params in case of OS2BMC Date: Thu, 4 Dec 2025 16:57:45 +0100 Message-ID: <2025120435-CVE-2025-40264-4001@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2823; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TWXRiO1YciMxlJ6r88mbr2BhSMOphlJ7RVmrgPR5gxY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmG6/NnZc+2d3Ga+Je36bWY96HpjUXG32YsTVkZlaIxN 6TuzUe/jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI8yqGeZpOMxqK7p37K/7z 8Zy4wtUR5/78dmFY0L7nhNmm/4e03SQ+vjk5k09BMO9wEAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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