Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B6CD441CB31 for ; Fri, 25 Sep 2026 10:25:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331914; cv=none; b=qsoepnM4nFDQJ90qQexYu5pVvGfALZ4nhj/Ob1EuEaEQ+BRGOjzJ3x4uxkvRVmvwj8VJRAFZ9Qt/mUHOkmOqdzf5iA8wzdmGt+sUon3bK+Vpc+5FlbA70eJfVY6/KQu3vd7Z0/ZM55leV/7jlPWUdNDJMHnJAQkf+V0ULt4DGyY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331914; c=relaxed/simple; bh=e7QldZQUq53DvowenVQAS32t6sBdZ+Hhr4n13zb7sGE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qquDDUXUCbEPlRPM2pxHh65D+zgpWEnrQ8nBrBpxaQPsDzcs2PCQlvbWVDfYK3Sjrgo8K/9x4Pyn1NrOpzSM96IFJTBXGOZrzaWIaTyQ1iHZeQYh+uUNFUiz5Y5ttgGaS+zp7RXzq0jW94vaXnDZ9fgmBwmc1aCtEaS9i+pWbKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zaaZ7+UQ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="zaaZ7+UQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B82471F000FF; Fri, 25 Sep 2026 10:25:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331912; bh=hGNZPLhLY4HAsTtR4W5iX98UCOes0T1lKazUMiBYYcE=; h=From:To:Cc:Subject:Date:Reply-To; b=zaaZ7+UQpW81aMuJSET5dHpZVzRuKp8++7iMdRIlORWANNiNDrUYL63k4czaO4uIJ +LnX0+GmdwXHkcBMAFlGZrRYU4dK0emHcVFjOHq8HaAilF/kn7OE1THF7FF4YEn0e8 iw6ijIcN47pfO+sisR3K+sEOQTd62UjYbAma8fTM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97570: bnxt_en: Bound SW TPA IDs to prevent crashes Date: Fri, 25 Sep 2026 12:22:30 +0200 Message-ID: <2026092554-CVE-2026-97570-f35e@gregkh> X-Mailer: git-send-email 2.55.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=4205; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yZ2cZxq0H/P9rk9WgRllRkC6XKicGK1KhdyHdISXJQs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvJ2mcr7p8171uG3R5NZ20x2yCxKXyurdDrDOXnfj4 tvUEFvJjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIgmcM88wTo0sKA70sVbes ani10HHPxTrjBQzz0xn61MxPszFeneb28ved2dbTlL4zAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Bound SW TPA IDs to prevent crashes FW supports up to 1024 concurrent TPAs, so the FW TPA ID is in the range 0..1023 (see commit ec4d8e7cf024 ("bnxt_en: Add TPA ID mapping logic for 57500 chips.")). bnxt_alloc_agg_idx is intended to wrap the FW ID down to a software ID which is used to index rxr->rx_tpa, and to generate a mapping between FW IDs and the wrapped software ID. On a 57608 with firmware version 233, the firmware advertises 32 concurrent TPAs. As of the commit under fixes, bp->max_tpa on this NIC is set to 32. If the software ID from bnxt_alloc_agg_idx is above 31, this results in an invalid address being loaded on this line: tpa_info = &rxr->rx_tpa[agg_id]; because rx_tpa is allocated with only bp->max_tpa (32) entries. Writes to tpa_info later in the code are out of bounds. This bug results in a crash at boot: Oops: general protection fault, kernel NULL pointer dereference 0x8: 0000 [#1] SMP NOPTI RIP: 0010:bnxt_rx_pkt+0xc0/0x1560 RSP: 0018:ffffc900009b8c78 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000048 RCX: 0000000206682516 RDX: ffffc900009b8db4 RSI: 0000000000000000 RDI: 01ffffff038fe1c0 RBP: ffffc9006e687480 R08: ffffc9006e687000 R09: 0000000000003048 R10: 0000000000000480 R11: ffff8881c6083900 R12: 0000000006682516 R13: ffff8881c6095400 R14: 0000000000000016 R15: ffff8881c6b66680 FS: 0000000000000000(0000) GS:ffff88fef3c77000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc8bda40584 CR3: 000000807c812001 CR4: 0000000008772ef0 PKRU: 55555554 Call Trace: ? __netif_receive_skb_list_core+0x1ca/0x250 __bnxt_poll_work+0x152/0x280 bnxt_poll_p5+0x1cd/0x480 __napi_poll+0x30/0x180 net_rx_action+0x20b/0x3b0 ? note_gp_changes+0x53/0xe0 ? tick_setup_sched_timer+0x180/0x180 ? __napi_schedule+0x9a/0xb0 ? bnxt_msix+0x24/0x30 handle_softirqs+0xdd/0x2c0 __irq_exit_rcu.llvm.3171231171502365008+0x47/0xf0 common_interrupt+0x85/0x90 asm_common_interrupt+0x22/0x40 This stack trace is from a crash triggered when an out of bounds rx_tpa is dereferenced. The invalid write mentioned above is silent in this particular crash. Fix this by allocating rx_tpa with bp->max_tpa rounded up to the next power of 2 (bp->max_tpa_roundup_size) entries and masking the FW TPA ID with that size, so the wrapped ID can never index past the end of the array. The Linux kernel CVE team has assigned CVE-2026-97570 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 54c28fab2fa5afd681c9c4b10f4f6da1efdd397a and fixed in 7.2.7 with commit 05cf64d171772c65bcdee76ee7163c35d9f55a89 Issue introduced in 7.1 with commit 54c28fab2fa5afd681c9c4b10f4f6da1efdd397a and fixed in 7.3-rc3 with commit c0aceaf65b70b3c000e70dd867f3a673015f24ca 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-97570 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 drivers/net/ethernet/broadcom/bnxt/bnxt.h 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/05cf64d171772c65bcdee76ee7163c35d9f55a89 https://git.kernel.org/stable/c/c0aceaf65b70b3c000e70dd867f3a673015f24ca