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 53AC5392819 for ; Sun, 18 Oct 2026 16:20:37 +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=1792340438; cv=none; b=hXiB1sWpv7uP54HaxXIiFM97out+OthPa2L8KVZ/d2joBXpPya5a6Dqob6vTuPJBuRZJXNjzpxogSHBLKgR6TRLBLvEuTBOPXCclbm943+OoXmgOSt5WpP0P6x3T+mAMZ29/uqDN/DGDbOH8TTXlG6Ctd5jPz3yZv8k9WBxY6ew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340438; c=relaxed/simple; bh=jz+DL2QiOJ+cmMJM31wSbTwIA4thKAr/oUqdO4tuZnQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ujJTmPa5SJGqiO6/V/6YVEUZm/6XrL0GUH0vx9ILGOkgrGUSQLKxNOrZtR/EXXLuuwxHNn5xEFFWMIffxjWsnxlllrDc7GMG/f3M7g3XSRd/zpBAYBrlmok5FaurfWpxXUF0kMUj5Zg7ed5RVfXZQRI36uxWIcpa8avXA8G7o+w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DlajbVaY; 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="DlajbVaY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FBA11F000C4; Sun, 18 Oct 2026 16:20:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340437; bh=kfrMGrbDmEgKPrFIYS5PaZGHywGX2AgINxaLXIrh9DI=; h=From:To:Cc:Subject:Date:Reply-To; b=DlajbVaYwraL3f2UqAmFc8u6niHiDh4AUjIHrFAcA5dhbu55LGgIwn9Gs5XHQdBlw VM3+/zrwcJZy/VN0kUNmbpxiLIQsKft3y1iJEepSa52gbmz0Qe8C1bAV7ddqE1POZW 9ZVWDeISI/P/lqXYXypYPvuEH2ErYZTT3cgB3R8A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98804: net: page_pool: fix use-after-free in page_pool_recycle_ring_bulk() Date: Sun, 18 Oct 2026 17:46:19 +0200 Message-ID: <2026101825-CVE-2026-98804-4018@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=2612; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Bk9B1mhdlELDEZwlBzNmv9XlnSxiTTT+wK+XLxMTpTw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXkaerGjO635zV/Tj208iXDG/5tr9/9uwTPns4dg9p yU/dSit7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJOAszzGab63VcTbiZVXl2 ctM9L3MXJ+Ndyxnmp/xcemnSNd/pxSHx64od8y82X9iwFQA= 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: page_pool: fix use-after-free in page_pool_recycle_ring_bulk() With CONFIG_PAGE_POOL_STATS=y, page_pool_recycle_ring_bulk() updates the recycle stats after dropping the producer lock. If it just recycled the last inflight netmems of a pool being destroyed, page_pool_release() can pass its producer-lock barrier and free the pool before recycle_stat_add() runs. Commit fcc680a647ba7 ("page_pool: allow mixing PPs within one bulk") moved this stat update after the unlock. Commit 271683bb2cf32 ("page_pool: Fix use-after-free in page_pool_recycle_in_ring") later added the barrier, but only fixed page_pool_recycle_in_ring(). Move the update back under the lock. The Linux kernel CVE team has assigned CVE-2026-98804 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit fcc680a647ba77370480fe753664cc10d572b240 and fixed in 6.18.56 with commit f78d45d5f1ac4141a03f033141368671da4293e4 Issue introduced in 6.14 with commit fcc680a647ba77370480fe753664cc10d572b240 and fixed in 7.2.10 with commit 0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c Issue introduced in 6.14 with commit fcc680a647ba77370480fe753664cc10d572b240 and fixed in 7.3-rc6 with commit bdea4980182e3badac74f04df6c07492b91c569e 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-98804 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: net/core/page_pool.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/f78d45d5f1ac4141a03f033141368671da4293e4 https://git.kernel.org/stable/c/0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c https://git.kernel.org/stable/c/bdea4980182e3badac74f04df6c07492b91c569e