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 E27A93515EA for ; Sun, 18 Oct 2026 15:30:30 +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=1792337432; cv=none; b=QIE7ZKk3XKGilLK2UdyFh2MV/uWK+Z7Lv4/W7Bubz4Sxr/l0H2ncshU5pwjv1GiiCmtoFubT+Xz74AVDjXKePTW5TDd3GmN8B4mWadCY8ckplcVNNRlOI3p0wlrcoCp8xSxmQn20ieuUxxtbRgRJPmUFgp+8xY8rFdCQHcj0YzU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337432; c=relaxed/simple; bh=wpLNUv/eatRkGN/jyWbivNmiU/U4GiTQ9R6co8O6wbY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EdLiGyZWDZcxCTk0895Qfwc2vgL6kIRV6JcnXdqGYJnLtqQuMzI+ee0oiIK+k/yieY53FX7cA5z63E2m0LWl3IUmzZtKa2Ma6dQU7SLrcXnT+/mOY6Z21Odkfj6EMje1eA+8BIkCcNWinGCHXefQTs82vT6kY48yqStbjAxKRlQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ELcdBl5W; 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="ELcdBl5W" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF1051F000C4; Sun, 18 Oct 2026 15:30:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337430; bh=B+eR1Z2Phu6Ju26EZ3RTuq1c411Sj2Y2W/LELW7NlCg=; h=From:To:Cc:Subject:Date:Reply-To; b=ELcdBl5WurDcL5W4tsji8GguVNZHIM33mgZSQb+NcHk8hWKitgTzBf/EkxBWjCc1B bXx9VnklWMFqKHHN8XXiZKQWdPwhQwB7bCWcDw+fEArFn42RWQxCpwmtSS0/z+m6TK I/fVBWBh5qeXPlEWvQZwDBmYfhZgM1rqEvLJgToc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98571: net: stmmac: clear stale buf->page after recycling on skb build failure Date: Sun, 18 Oct 2026 17:17:15 +0200 Message-ID: <2026101832-CVE-2026-98571-1f8f@gregkh> X-Mailer: git-send-email 2.56.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=2607; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xrjPQC94qaCzkVWcVxq1LDQZqwIteOwgAZU/Bu4mT6g=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHk0JP3x4cnlC+h0x1dVH2l2PL33qdMZn8o+NrMazr JWOTyyW6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJVIozzA/REUzp5m5/uX/b 0Sfll6qD3syuusMwh29JXWHqarPDKmIdLpkas9TWfJdgBAA= 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: clear stale buf->page after recycling on skb build failure In stmmac_rx(), when napi_build_skb() fails the descriptor page is recycled back to the page pool with page_pool_recycle_direct(), but buf->page is left pointing at the recycled page, unlike every other consumption site in the function which clears the pointer after handing the page away. With the stale pointer stmmac_rx_refill() skips the replacement allocation and programs the already-recycled page back into the RX descriptor. Clear buf->page on the napi_build_skb() failure path to keep the buffer lifecycle consistent with the other consumption sites. The Linux kernel CVE team has assigned CVE-2026-98571 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit df542f669307918f054a17878ff6dd1ddbb2fe18 and fixed in 6.18.55 with commit 501baaeca7d128fa0a2f6953cf5873c5b0d7cf89 Issue introduced in 6.14 with commit df542f669307918f054a17878ff6dd1ddbb2fe18 and fixed in 7.2.9 with commit 298673397ea3f6f5811b84f0d9f71eac71dda2e3 Issue introduced in 6.14 with commit df542f669307918f054a17878ff6dd1ddbb2fe18 and fixed in 7.3-rc5 with commit 0a7822e34a0bfde31b194ac3da3253e5032b44cc 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-98571 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/501baaeca7d128fa0a2f6953cf5873c5b0d7cf89 https://git.kernel.org/stable/c/298673397ea3f6f5811b84f0d9f71eac71dda2e3 https://git.kernel.org/stable/c/0a7822e34a0bfde31b194ac3da3253e5032b44cc