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=1792759021; b=XqMtZttc7ALcLpVF4vN4Ss6vBrbq3ujzYw5DpFNp4DXSG4KLp/K+ck/6Q0yOz9XgtHAl hL618mvLqmaIbNTAKtvRVq5TAfhbqtkn4sbhlsrJBI7XWKUM5tSOSQWzINIazZ7Zcovyl cS7eGm/t5B9uqaHAFkx3/+Vj3OaNX6Oc/KuTe+Tx5LoOUgwxr2qTcyrzt9rCrCke5fwL2 yPDhVYpqAVPMzQuIG6EM2+iTRUPnTUG9VsiEy69lrTfwleOeZX4QF1MVmXce1i/Xo1sN9 sv1rToKTSbzlVxyTEu9FSmQTdcbuAASRehmveIkFjFMPEmEBzizFzAGAoTEKWvOBZXg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759021; 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=Uah6o10mUcRFFUmJpTbf/RZa+hCdQEbMESaD4cC1TEs=; b=CTpnHMeiCs9+C4VJs2felajYhWbitXu2cz7FJg49R0peUFgBXajQpQhG90h3Zks521Oo kq5+9xI1rw3VgMWIa/diH4uk8xrEQMQ6S0+2R+BxETGeYyhu3Pa4K43yNayxb9neV7FEn 9WEO/91IQGuRjhbSYhhLhWRBTOnFX8uoD0LA9VWrb3ankQM1xOR6kzuuCNJCaTobcWt+o EZ/22iiDg7kGlv5R/qUXsTSdStiDX/PUIQIUW1gNjDQe5k15Fse1DVFrHHxE2bfT+yYvY 83M0lHDMlJ5GGZaKTdsphMGMYBrGArXwtFmPzEf317HtLepUQdOHVdFbKBVETcyhIMQ== 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=t2iZSYhW; 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 61A47606A31A for ; Fri, 23 Oct 2026 12:37:01 +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=t2iZSYhW Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF6CE1F01825; Fri, 23 Oct 2026 12:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759021; bh=Uah6o10mUcRFFUmJpTbf/RZa+hCdQEbMESaD4cC1TEs=; h=From:To:Cc:Subject:Date:Reply-To; b=t2iZSYhW/+dXFdyGfD1ETHHnbgdAnPEWTR6ilyxGGta3HBiV0uaRojABnRmxfm8Cf 5DUAYViyoNjeqCKlUOsKDhprBKq6krQfK1tWt4bHlVpOnqeNME+4uE9Uffg/ifikKv rEZhlgHb1W0DEFgXocVb6wVnKcr/yraJRXd1kZpE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99028: net: xilinx: axienet: Free outstanding DMA buffers on dmaengine stop Date: Fri, 23 Oct 2026 14:20:30 +0200 Message-ID: <2026102324-CVE-2026-99028-8d21@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=3680; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kPWT7y6VYUg3lC3uRbFIlt+hTpNd265Awk8CVLtbnCk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A85Mm7S3J9OR/Zrv5NuBe262x5VHMPLfuORhu/dc6 +Vvn64s7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJrGNhmGfxW53B881ZWdOE z4xVDn41jyPqyhnmh52rW/Dy5OQppW0CTyvYRP6unNeyCAA= 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: Free outstanding DMA buffers on dmaengine stop In the dmaengine path the driver pre-submits RX buffers and holds in-flight TX buffers whose SKBs are DMA-mapped by the driver and freed only in the completion callbacks. On ndo_stop() dmaengine_terminate_sync() aborts these descriptors without running their callbacks, and the driver then frees only the ring shells, leaking every SKB still owned by the engine and its DMA mapping on each ifdown. With 128 RX buffers pre-posted per channel, the mapping leak can eventually exhaust a limited IOMMU aperture. Clear the slot's skb in the TX and RX callbacks so a non-NULL skb marks a slot that still owns a live, DMA-mapped buffer, and on stop unmap and free every such buffer. axienet_dma_rx_cb() runs from the DMA tasklet and re-arms the RX ring on each completion, so it can race axienet_stop(): a completion may submit a fresh buffer after dmaengine_terminate_sync() has returned, leaving the channel armed with a buffer the teardown then frees while the engine may still write into it (dma_release_channel() does not stop it either). Add a lock that axienet_dma_rx_cb() holds across the @stopping check and the resubmit, and axienet_stop() holds to set @stopping before terminating. Once @stopping is set no callback can arm a new buffer, and any armed just before is aborted by the terminate, so teardown only frees buffers the engine no longer owns. The Linux kernel CVE team has assigned CVE-2026-99028 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit 6a91b846af85a24241decd686269e8e038eb13d1 and fixed in 6.12.114 with commit 079396129da5e7cb40ca0920aa1b9525bef6097c Issue introduced in 6.8 with commit 6a91b846af85a24241decd686269e8e038eb13d1 and fixed in 6.18.58 with commit eececf7c3a679d9c08175ad6bacbc8c31848f5af Issue introduced in 6.8 with commit 6a91b846af85a24241decd686269e8e038eb13d1 and fixed in 7.2.11 with commit 5e5cf3ad7c099ff86ea9e422cddb25a2e5317b58 Issue introduced in 6.8 with commit 6a91b846af85a24241decd686269e8e038eb13d1 and fixed in 7.3 with commit bcf2573a68a808a5b54cadafa72b6672e662c2bf 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-99028 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.h 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/079396129da5e7cb40ca0920aa1b9525bef6097c https://git.kernel.org/stable/c/eececf7c3a679d9c08175ad6bacbc8c31848f5af https://git.kernel.org/stable/c/5e5cf3ad7c099ff86ea9e422cddb25a2e5317b58 https://git.kernel.org/stable/c/bcf2573a68a808a5b54cadafa72b6672e662c2bf