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 D16A249A3B6 for ; Fri, 25 Sep 2026 10:40:57 +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=1790332859; cv=none; b=k2USD9Jw8w/aYHS6wUdDhn1Yy2VEvzUbXtgw3lo5bcUjq1whCxvL/jwVO4PPmgkWRwNelz+XJ9MhSsNrCgBT0MWSCqCXo/S9wN578CMSl0Xp4PDuzXL3xgGdw5yQu995cW9+mHMZxieq+mUbNdcpAxKcYvNIH3oancBxPVHL+h8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332859; c=relaxed/simple; bh=lFEroeFdhDaAp7zB4LJ5YaOkk1jDuLgiKkqLk/XyR48=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UAE5QNGpDTJEKqGRqA1AabbksTehw4hIPO5XoFey+Vv8bG2VR2YBT7N+RwSzo+PmLwJdcFP8gGaDXO4tlkYskqQ8W3UWnx+ye/uPcw1Z05TpsO2jqphvS3uxX3FqNjnSvoUIQjro5asek5mN0sRn3jQv2whgqZv1ufH2pP3Rp7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gTNA5jYx; 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="gTNA5jYx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3307C1F000FF; Fri, 25 Sep 2026 10:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332857; bh=hWhelXUBFP2IWNEEvh/rpHuMu5MPUVGhjw14ykChELQ=; h=From:To:Cc:Subject:Date:Reply-To; b=gTNA5jYxfpTtvBJK5Fu3H494WB9VxmLRRz/OvscblHw5MG+7f1g0DPQg+o2x+eRe5 71uMJi/f2kcNgPMPnICuCo7d5ovTU/BJBa6Og+lcNwPApMjGWlt2Xw2BWwq7pv5zSw E9bqSakC4e0wuId91LMXr84W9/yUGp5cVXpwZ4vw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98131: net: stmmac: fix dma mapping leak in stmmac_tso_xmit() Date: Fri, 25 Sep 2026 12:39:38 +0200 Message-ID: <2026092515-CVE-2026-98131-6c66@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=2245; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8eEKs4RU6XsG0FxaEH3cZGvlNvJkS4jFxxQT77eTenE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/INrS+Z0HW9bHyRnnF7mylxwX2N9NuuWvI2J/Vezv h7ruMPXEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOxcWSYpxkWtKvGpWJb32Ke 1oSzBn9tY5okGRZcXGrmckZpXcREryslgpZeMUGZd3wB 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: stmmac: fix dma mapping leak in stmmac_tso_xmit() In stmmac_tso_xmit(), if the DMA mapping of an skb fragment fails, the frame is dropped but the DMA mappings already created for the linear part and for the fragments mapped before the failure are never unmapped, leaking DMA mappings. Fix the leak by walking back over the descriptors used by the frame and releasing each of them with stmmac_free_tx_buffer(). Moreover, release the descriptors with stmmac_release_tx_desc() unmapping the DMA buffers. The Linux kernel CVE team has assigned CVE-2026-98131 to this issue. Affected and fixed versions =========================== Issue introduced in 4.7 with commit f748be531d7012c456b97f66091d86b3675c5fef and fixed in 7.2.7 with commit e85adaac3dc6317cae902372c6849189ec62cf7d Issue introduced in 4.7 with commit f748be531d7012c456b97f66091d86b3675c5fef and fixed in 7.3-rc2 with commit a5d946466a95621fa2769720d59ea336003aa1a5 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-98131 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/stmicro/stmmac/stmmac_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/e85adaac3dc6317cae902372c6849189ec62cf7d https://git.kernel.org/stable/c/a5d946466a95621fa2769720d59ea336003aa1a5