Skip to contentSkip to conversation

CVE-2026-43260: bnxt_en: Fix RSS context delete logic

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

bnxt_en: Fix RSS context delete logic

We need to free the corresponding RSS context VNIC in FW everytime an RSS context is deleted in driver. Commit 667ac333dbb7 added a check to delete the VNIC in FW only when netif_running() is true to help delete RSS contexts with interface down.

Having that condition will make the driver leak VNICs in FW whenever close() happens with active RSS contexts. On the subsequent open(), as part of RSS context restoration, we will end up trying to create extra VNICs for which we did not make any reservation. FW can fail this request, thereby making us lose active RSS contexts.

Suppose an RSS context is deleted already and we try to process a delete request again, then the HWRM functions will check for validity of the request and they simply return if the resource is already freed. So, even for delete-when-down cases, netif_running() check is not necessary.

Remove the netif_running() condition check when deleting an RSS context.

The Linux kernel CVE team has assigned CVE-2026-43260 to this issue.

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

	Issue introduced in 6.11 with commit 667ac333dbb7e265b3f5bc4bc94e236f64682c86 and fixed in 6.12.75 with commit 348a5f8d06c7bdf954e13c17ad5f80b59a075604
	Issue introduced in 6.11 with commit 667ac333dbb7e265b3f5bc4bc94e236f64682c86 and fixed in 6.18.16 with commit 079986d6db1f8e3d50c55f400cf998ac9690d2c8
	Issue introduced in 6.11 with commit 667ac333dbb7e265b3f5bc4bc94e236f64682c86 and fixed in 6.19.6 with commit 9a9b89eea4a9cc7726702946ff688d716962fabd
	Issue introduced in 6.11 with commit 667ac333dbb7e265b3f5bc4bc94e236f64682c86 and fixed in 7.0 with commit e123d9302d223767bd910bfbcfe607bae909f8ac

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-2026-43260

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/broadcom/bnxt/bnxt.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/348a5f8d06c7bdf954e13c17ad5f80b59a075604
	https://git.kernel.org/stable/c/079986d6db1f8e3d50c55f400cf998ac9690d2c8
	https://git.kernel.org/stable/c/9a9b89eea4a9cc7726702946ff688d716962fabd
	https://git.kernel.org/stable/c/e123d9302d223767bd910bfbcfe607bae909f8ac