Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759453; b=T8N5oOB6AssEC8KkRXwA/zkDaAVLsmIRZHn6q25VeG9GEsBNnt/3prRHBCImaCFKU6KZ v7J04xgvTn49f/krOW+/YqBA1iTRb3rjaqT9w3zqUBN6h1ZUvNePmhKhSycOZvdHdESG4 mvUcBELXB6qlfWaXrInZJDMmkravj3TBMRLBmJoB6CzVhAm9RQx0bwws9vJT3+GWGOGy9 zAco1dfLdb+4zDRQc9kg2L2LzczJ+azAp83v7W4pK24CHN7XUfoQjtrTyt+0pXUzFWByb tY+4uRp3CtdsKu6SF+0W5cBgbrCexITF8HpldTI+xpoI38shTrxKbOYa3KobDeGdcFQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759453; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=yoLcRxWx48xM8BdjYq/357qMHFSKCFx3ZMmhaLHL4uc=; b=BuA/mB2SV736WrSD/2v0OrunwuqWuMxw1PpHViqUln8Q5iQxCGAWLYmuwMSXDsuEZLin lB+/KjS6ajHiFIOhCQayt+DoOXudjnNW9TJcsHrr6q/d55B7vGC59ucd6ErBCyykSEl27 eSaXDKJRuIljOKKTkoAObLgEzfAbBLVNtagVGVyfhq6Yg9slYZ2qmERuJaiPuBMDRQFsF 9DNO2AevvrAgIhLyyHLvQZ/nwtjuXyr2y0CAiw0nZzDpU3Us8sTI5LQ3CFVslGZwCm1Oi W9+uqyPP2bKw1A2mwpPG5nEDTVhAmEbW5//e47SXV0F/WLIKM2/BhhnWavaAs74mp9g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=DLlBXg6T; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09166606A31D for ; Fri, 23 Oct 2026 12:44:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=DLlBXg6T Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CB1F1F031E0; Fri, 23 Oct 2026 12:44:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759452; bh=yoLcRxWx48xM8BdjYq/357qMHFSKCFx3ZMmhaLHL4uc=; h=From:To:Cc:Subject:Date:Reply-To; b=DLlBXg6TTXI8kAD6TFtGH4deH/JnA+l2yhL9BRHHp4rexLFO1Czr/LK25mlJ4jwva XFED3OWVwHTyUtisbOdu1S0D23BSEqO1VJ81swEQOjpAis3uae0WcW8Tdqw4nDrG/8 gWpkcvIgXvphLKDr+3zsGXbyJmoHYParMndPYQeI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99079: net/mlx5e: Prevent stale XSK buffer release on refill retry Date: Fri, 23 Oct 2026 14:21:21 +0200 Message-ID: <2026102335-CVE-2026-99079-fd28@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3649; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CHJyGDFuWNOpsu6JSOdgNsN4QwWoe0SK+2kX2NO+VdQ=; b=kA0DAAIRMUfUDdst+ykByyZiAGrbUNigidC4gaZDmWNuCMGNO9MBfTRt4K5wJoiYtR8GTsj1C 4hdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmrbUNgACgkQMUfUDdst+ylQIwCeKdOj Fqtc8WOtKE3C14Wca8VYiMcAn06re15HNpcjhtNBjsD5LYGRmfc1 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: Prevent stale XSK buffer release on refill retry When an XDP redirect to an AF_XDP socket fails because its RX ring is full, the XSK core frees the buffer. During the subsequent batched refill of a legacy cyclic RQ, mlx5e also releases the WQE's XSK buffer before allocating a replacement. If that refill succeeds only partially, a WQE left without a replacement retains its old buffer pointer. The buffer can meanwhile be allocated to another WQE. A later refill retry can then free the live buffer through the stale pointer and publish the same UMEM frame twice. Mark the WQE as released immediately after the driver-side free. The flag is already cleared when a replacement buffer is assigned, so refill retries no longer release stale pointers. The failure is silent and produces no kernel warning or splat. A standalone legacy cyclic-RQ zero-copy libxsk reproducer, using 64-byte UDP traffic offered at 12 Mpps, detected it: stock stopped after 2,854,914 packets in 4.094 seconds, with 4,542 xdp_rx_ring_full events and 64 ownership/double-publication errors. With this change it processed 356,904,225 packets in 30 seconds despite 571,405 xdp_rx_ring_full events, with no ownership or data errors. The Linux kernel CVE team has assigned CVE-2026-99079 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 3f93f82988bc6b4104314bf9aa485d47fbb7e241 and fixed in 6.6.160 with commit 32bbb870078d467479965c21bbc4960c57eea208 Issue introduced in 6.4 with commit 3f93f82988bc6b4104314bf9aa485d47fbb7e241 and fixed in 6.12.113 with commit 34d1db2b18e1c1d189e34dd51923e031815f88e3 Issue introduced in 6.4 with commit 3f93f82988bc6b4104314bf9aa485d47fbb7e241 and fixed in 6.18.57 with commit 639522e5056cade578a324acfa993ec6c9f7f5dc Issue introduced in 6.4 with commit 3f93f82988bc6b4104314bf9aa485d47fbb7e241 and fixed in 7.2.11 with commit 655f47477054d19de3b138840be229a1a4490d0c Issue introduced in 6.4 with commit 3f93f82988bc6b4104314bf9aa485d47fbb7e241 and fixed in 7.3 with commit e01620844c5c88b6fcf819d171df8e3976a0e76f 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-99079 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_rx.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/32bbb870078d467479965c21bbc4960c57eea208 https://git.kernel.org/stable/c/34d1db2b18e1c1d189e34dd51923e031815f88e3 https://git.kernel.org/stable/c/639522e5056cade578a324acfa993ec6c9f7f5dc https://git.kernel.org/stable/c/655f47477054d19de3b138840be229a1a4490d0c https://git.kernel.org/stable/c/e01620844c5c88b6fcf819d171df8e3976a0e76f