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 E296F490BE2 for ; Fri, 25 Sep 2026 10:26:47 +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=1790332009; cv=none; b=QuYFFbp306++m02i6WCD+QbrJwZRu4n01iA/3hHoiRfidSbaPiE8k2VVEKkjzmfe5H1NH/KDtxCy+5tONEuDJHh2HZ/ZwZi/9JwwuwTaefV7zQzEYndqUeuUTZZiJzfRP2h6x/nOYLHVdNZEzHsIEnnR8KElPiZBee1bsoeayMo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332009; c=relaxed/simple; bh=WyZ1LubMP8i+bCPtPAkrmJBNiW9PaTzpOgqMIJMyM1c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KQlJ0T2qz+VZDWoh2VEXSEP2tdaCgvAIKTwFNg9oaSZuvRJV2CSJV4/jEu0XdcgkPjzxSMrgGLFf9iKGyF9a6tde6+8E8CRbOS+ZmUAqP9V1XJppQWhSZZHxfCgKoIDyVHWufLD65jDK5+an87Nmr2mGw82BB9dRWBN7xospUOo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dPhF+Abi; 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="dPhF+Abi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18B851F000FF; Fri, 25 Sep 2026 10:26:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332007; bh=V/aMoZaQkAv02C/cntkFTG3+iBXbY7T4PW4ndF3raKQ=; h=From:To:Cc:Subject:Date:Reply-To; b=dPhF+AbiBLQFWAxapimmXnhrM5//JpPXU2mnHiafQobQ/eRSuMbfwRPlPmkvzis8g B9Cq5C9RAI/wHKvqA6uYPZjzt7AE/s6QiOx1QfeD3ZuNs7KfY62i9P+q48oOznPymL bWbuQX9+AdDOwcQKs2X87/fXRSpz9mEb4FlRn4po= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97573: bnxt_en: Handle buffer allocation failure in bnxt_rx_ring_reset() Date: Fri, 25 Sep 2026 12:22:33 +0200 Message-ID: <2026092555-CVE-2026-97573-9ed5@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=3121; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EZS5/GngSRgw4b+Vq6HLelr2DzPvyjKGi6hSDpGRn84=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvJ19BPivlu4sMv/MvcOiIZuZt48pvHHSZKls0RMOj 3lNrFo7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCIhNxnmCr3Jkl6T88DmZtRx r9dLc3jnHXqyiGGu3IrQwLMOPsbcOf1z5Vc+Xui06OJxAA== 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: Handle buffer allocation failure in bnxt_rx_ring_reset() bnxt_rx_ring_reset() frees the ring buffers and then reallocates them, ignoring the result. bnxt_alloc_one_rx_ring() can fail in bnxt_alloc_one_tpa_info_data(), which returns -ENOMEM on the first failed allocation and leaves the remaining rxr->rx_tpa[] entries zeroed. The error isn't propagated up, so the loop in bnxt_rx_ring_reset continues and at the end the code re-enables TPA with partially unallocated rx_tpa array. This means that when the agg_id from hardware is mapped to a SW index in rxr->rx_tpa[], an uninitialized slot can be chosen which would hand a zero DMA address to the device. Fix this by falling back to a global reset, which is what the existing code already does when other functions fail, but unlike the other failure cases this particular failure has to return because TPA can't be re-enabled since the allocation failed. The Linux kernel CVE team has assigned CVE-2026-97573 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 and fixed in 6.12.111 with commit 1a3670b6a6b5679fe56c5890157b344f091e64f8 Issue introduced in 5.10 with commit 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 and fixed in 6.18.53 with commit 4a17c73c83798c2fa9c7920ad5a98803adce3e01 Issue introduced in 5.10 with commit 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 and fixed in 7.2.7 with commit 8b2fd5c0aeda935294159206af9d6179282d425a Issue introduced in 5.10 with commit 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 and fixed in 7.3-rc3 with commit 961e2a17c5e3559b3f8654d2daabdd25a42e770a 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-97573 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/1a3670b6a6b5679fe56c5890157b344f091e64f8 https://git.kernel.org/stable/c/4a17c73c83798c2fa9c7920ad5a98803adce3e01 https://git.kernel.org/stable/c/8b2fd5c0aeda935294159206af9d6179282d425a https://git.kernel.org/stable/c/961e2a17c5e3559b3f8654d2daabdd25a42e770a