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 87397392C21 for ; Tue, 13 Jan 2026 15:29:58 +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=1768318198; cv=none; b=Oa8geU8ZklmFuGB0NAQ/A/0R9Sx5wCpxnPg4JNZTjbnfgRSX4JDte/pMEVxisugQmZRol9nZvOdtbmbAf2bHLSWTkeLi8WlYFaKnDFzpsfqK463JwuQ8G6/G3AfB38ETFIyoABCBKXfYBhoHF1Khw077jGffXMqdVe/LtKAw+O4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318198; c=relaxed/simple; bh=aTVLiEWyfj9ly3QcYCZ1YK+Kjp+W8247/oSfsXm2DAY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VpHmb1XQx712IpWfwaxCt4qhAsTq2JqIj25xAfb+qVpQR1ipu1+Z10jeJAeiI/P9bbiNjYJj4nj8bYItoQW9JBU/CszPToeLE3HANeEUhTQLvyN8G9a3X7ZKDlOMwrpB2y1pswDexfdlTdyWRYgalREK6gF0nSHIRokOgrz4Pgg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IMezErGM; 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="IMezErGM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14D36C116C6; Tue, 13 Jan 2026 15:29:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318198; bh=aTVLiEWyfj9ly3QcYCZ1YK+Kjp+W8247/oSfsXm2DAY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=IMezErGM1oRqIcCBe8G3exvsJ0c6Es3PuhuknDdcaEhgeOYwiIY0arGhEhBzObiIw qDVclgQbZR4LRxRHCBY/FWKSeFimzL0yNAV6zkGo+HYv6fhn5XIkxV69RBmDYfk516 qdEt/0lE1fJEbXZLJDimudb0ZppC5/Sod/2Pus4o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68770: bnxt_en: Fix XDP_TX path Date: Tue, 13 Jan 2026 16:28:56 +0100 Message-ID: <2026011357-CVE-2025-68770-6464@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=3138; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3RDQFgiWPfTrSVYqn3cbTOY32t1/jYflb3yROf5u2Jw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpKTubWO/PiPdWusz2Imtar9DWR2cW7H028UL/BQ39l Tcip23s74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ7P3GMFeC/czh66c+2+6a zGuT93Bvgi7L14MM80uXvpZd1XDn5f++Eq5zXQvW6chtkgMA 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: Fix XDP_TX path For XDP_TX action in bnxt_rx_xdp(), clearing of the event flags is not correct. __bnxt_poll_work() -> bnxt_rx_pkt() -> bnxt_rx_xdp() may be looping within NAPI and some event flags may be set in earlier iterations. In particular, if BNXT_TX_EVENT is set earlier indicating some XDP_TX packets are ready and pending, it will be cleared if it is XDP_TX action again. Normally, we will set BNXT_TX_EVENT again when we successfully call __bnxt_xmit_xdp(). But if the TX ring has no more room, the flag will not be set. This will cause the TX producer to be ahead but the driver will not hit the TX doorbell. For multi-buf XDP_TX, there is no need to clear the event flags and set BNXT_AGG_EVENT. The BNXT_AGG_EVENT flag should have been set earlier in bnxt_rx_pkt(). The visible symptom of this is that the RX ring associated with the TX XDP ring will eventually become empty and all packets will be dropped. Because this condition will cause the driver to not refill the RX ring seeing that the TX ring has forever pending XDP_TX packets. The fix is to only clear BNXT_RX_EVENT when we have successfully called __bnxt_xmit_xdp(). The Linux kernel CVE team has assigned CVE-2025-68770 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 7f0a168b0441ef7fd6b46563efb2706c58ac2a4c and fixed in 6.12.64 with commit 4b83902a1e67ff327ab5c6c65021a03e72c081d6 Issue introduced in 6.8 with commit 7f0a168b0441ef7fd6b46563efb2706c58ac2a4c and fixed in 6.18.3 with commit f17e0c1208485b24d61271bc1ddc8f2087e71561 Issue introduced in 6.8 with commit 7f0a168b0441ef7fd6b46563efb2706c58ac2a4c and fixed in 6.19-rc2 with commit 0373d5c387f24de749cc22e694a14b3a7c7eb515 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-68770 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_xdp.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/4b83902a1e67ff327ab5c6c65021a03e72c081d6 https://git.kernel.org/stable/c/f17e0c1208485b24d61271bc1ddc8f2087e71561 https://git.kernel.org/stable/c/0373d5c387f24de749cc22e694a14b3a7c7eb515