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 BDA5B3C6A51 for ; Fri, 1 May 2026 14:20:41 +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=1777645241; cv=none; b=EdevazZXpSKJvsNeSKKPvzDoudVUHw0ACF7eK4tzp1LcvP7C9TyBQz6WxugU7r+IQw2pU4MHd5wDy9sqXFJQbv+p7oWGTfMlk2CFwFtrzsRWHWq6YH8IWMto3Bb4Vw5jhprzo6qKv8HOwuetyWfgKJ6xBEwgTscRDeTnHvrAdiQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645241; c=relaxed/simple; bh=hcZm0itzdAKDHlCHV68yVcLrmNHWbOsNbGfemoD6CA8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CBJIoVjrpT8YHTaQY9WWnv69LY5W/HUF65qeB2Fn7HFlXtVLXiRGTXE7bHU2Jse1wl/5hjzlJLd88VPHiFhLfmueTcOzXSDE0RmMxfTunJUDEUiSPUV2X8FCZJIeVviwxMdnH70EfZQlsrejMXbe8gRCtxI1EsZaNSNBuj9Capo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GWqee9Yw; 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="GWqee9Yw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E6EDC2BCB4; Fri, 1 May 2026 14:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645241; bh=hcZm0itzdAKDHlCHV68yVcLrmNHWbOsNbGfemoD6CA8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=GWqee9YwfTB3ae9CAW3B8d3643Vfcd8zRZh+pfIXDYY76AayigFAQiPOc9GJeUg8h XnZ90+O7Ez2T3SnFD5fv+9dN9WdHZg4sNayidJLJ5rlSdPgZPRP73OiS95zYf/L/de v+cqHAvcRWvqPFx2jeuTEHQRuKN8ofsynKB2NHvk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43031: net: xilinx: axienet: Fix BQL accounting for multi-BD TX packets Date: Fri, 1 May 2026 16:16:04 +0200 Message-ID: <2026050101-CVE-2026-43031-f267@gregkh> X-Mailer: git-send-email 2.54.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=2773; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qiB9tgqZWRBgXwQ2jLEaztYSthQpZ5J/ESLJ2iC3W54=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftqbKWEwxXnajfraz21Sf0/o6L1I5zngK+hzO83mUZ OG2L6OsI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbimcAwVyzR8nucUumyl81c JtXTnWt0ZBM/McxiOit54eVnK7av2tF+81Yu75j8QOIPAA== 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: xilinx: axienet: Fix BQL accounting for multi-BD TX packets When a TX packet spans multiple buffer descriptors (scatter-gather), axienet_free_tx_chain sums the per-BD actual length from descriptor status into a caller-provided accumulator. That sum is reset on each NAPI poll. If the BDs for a single packet complete across different polls, the earlier bytes are lost and never credited to BQL. This causes BQL to think bytes are permanently in-flight, eventually stalling the TX queue. The SKB pointer is stored only on the last BD of a packet. When that BD completes, use skb->len for the byte count instead of summing per-BD status lengths. This matches netdev_sent_queue(), which debits skb->len, and naturally survives across polls because no partial packet contributes to the accumulator. The Linux kernel CVE team has assigned CVE-2026-43031 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit c900e49d58eb32b192b6d200ace4ae3ab89779d4 and fixed in 6.18.22 with commit 2a0323a913109b52bfc9f5ea7b92a1b249e07d3e Issue introduced in 6.15 with commit c900e49d58eb32b192b6d200ace4ae3ab89779d4 and fixed in 6.19.12 with commit 3c3a6b9020c01fde7b22e8550105de0b59904f61 Issue introduced in 6.15 with commit c900e49d58eb32b192b6d200ace4ae3ab89779d4 and fixed in 7.0 with commit d1978d03e86785872871bff9c2623174b10740de 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-43031 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/xilinx/xilinx_axienet_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/2a0323a913109b52bfc9f5ea7b92a1b249e07d3e https://git.kernel.org/stable/c/3c3a6b9020c01fde7b22e8550105de0b59904f61 https://git.kernel.org/stable/c/d1978d03e86785872871bff9c2623174b10740de