From mboxrd@z Thu Jan 1 00:00:00 1970 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 58EC03C4563 for ; Sat, 22 Aug 2026 15:38:58 +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=1787413139; cv=none; b=c69cUHYvSLEERnwiwg8E/A7gDxam9EavgFkNp3n4vck/9CdSgK+OyBoT4rAsvK7+QaOtNzC8ZGDYq3utZwkN9umySNSYFxzFzp5YBc4auB0uIO2AG+MFicMOh3dUoXIEZVk8N8h11WMKCXjtQMAmI1LsiZqhHY2vH3aNiohkX28= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787413139; c=relaxed/simple; bh=d4p/JcMtX1PVUAiWBuHnX7+gFcxo8cDNIfZ1Y3vdX/E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rFoffEehD5Sj/1jLDpb7XZndNxb1DwlTME/nBBjf7zyCdBF3C9AozKhM2pweXiEORVVMPUrYocnCamyY2rPcFcysNZBsVOvO6jdAq+pCfxsFJt+d845S2xJyGAXqT3/s/DNkgmuyn+KAuabwUfgJBOC4lOrDpqrPs6W/7zrgV8k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0cytLK9b; 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="0cytLK9b" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B600B1F000E9; Sat, 22 Aug 2026 15:38:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787413138; bh=U66BtUmdd2obO/50NIO6Z9TboxM90XcZPq80ffKtZ/Y=; h=From:To:Cc:Subject:Date:Reply-To; b=0cytLK9b9cM+n1tAnY5TIfBJwKrZqMlaoIHaQyVOvevG3xWdk9KfkHXPq4iPfIto3 zm4i8vc5sHTYaiAzMlbissX1s/F9b9chiJMcWPsJe5LrumMS9jlGEkkBiR1Y00Kp5w tOcARx9DPiZri0k7VCSXpobtNJf14BegU2pN3HCk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74698: net/mlx5e: fix BQL reset on SQ re-activation Date: Sat, 22 Aug 2026 17:33:02 +0200 Message-ID: <2026082235-CVE-2026-74698-16c4@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=2774; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JEWxyqcrH3vZCzZ7YHKKqP8hkktA75GcnIR5jh/nqKk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmdB66LdT8sPtzIEvPv4rfICzyvBfg3z/8582v1zvC7W 2cHTJW51BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATmZ7DML/+xfYLRvOfO7yM fu14v0f1X8JL/RyG2ez5MyYlVa+7anLknqj1ryczSxT1OgE= 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: net/mlx5e: fix BQL reset on SQ re-activation mlx5e_queue_start() deactivates and re-activates all channels but closes only the queue being restarted. mlx5e_activate_txqsq() then unconditionally calls netdev_tx_reset_queue(), zeroing the BQL counters of channels that kept their in-flight TX WQEs. The next completion then over-charges and trips the BUG_ON() in dql_completed(): kernel BUG at lib/dynamic_queue_limits.c:99! RIP: 0010:dql_completed+0x23d/0x280 Call Trace: mlx5e_poll_tx_cq+0x668/0xa60 mlx5e_napi_poll+0x5b/0x7b0 net_rx_action+0x15a/0x580 Reset BQL only when the SQ has no bytes in flight (sq->cc == sq->pc). In the case that reset is skipped, the outstanding WQEs will eventually complete and rebalance the dql. The dql->limit is carried across the reset. The Linux kernel CVE team has assigned CVE-2026-74698 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit b2588ea40ec9472688289c1a644627c0f4a1f33f and fixed in 6.18.45 with commit 88664c48d7d1eca8e1ac92da85c89c26af741cf1 Issue introduced in 6.17 with commit b2588ea40ec9472688289c1a644627c0f4a1f33f and fixed in 7.1.9 with commit d2897717cd222e575599d903d885c48602699800 Issue introduced in 6.17 with commit b2588ea40ec9472688289c1a644627c0f4a1f33f and fixed in 7.2 with commit e7386770be1bf810bcd6af39d1e4bfeab3408430 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-74698 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/mellanox/mlx5/core/en_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/88664c48d7d1eca8e1ac92da85c89c26af741cf1 https://git.kernel.org/stable/c/d2897717cd222e575599d903d885c48602699800 https://git.kernel.org/stable/c/e7386770be1bf810bcd6af39d1e4bfeab3408430