KernelScan.io

HIGH Introduced in 6.14

page_pool RecycleRing UAF

CVE-2026-98804

CVSS 7.1 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

01

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.

02

Engine v0.9.0

Risk summary

A use-after-free in the page pool recycling path allows a local attacker to corrupt kernel memory when a page pool is destroyed while network traffic is still recycling pages. The bug requires winning a narrow race between packet processing and interface teardown, making reliable exploitation difficult but the primitive is a full heap use-after-free.

Affectednet/core/page_pool.c (page_pool subsystem)

Vulnerability analysis

When statistics tracking is enabled, the page pool's bulk recycling routine updates counters after releasing a lock that protects the pool's lifetime. If the recycling handles the last in-flight buffer of a pool that is concurrently being torn down — for example, when a network interface is brought down — the pool can be freed before the counter update executes, resulting in a use-after-free. The fix moves the counter update back inside the critical section so the pool remains valid until the update finishes. Exploitation requires generating network traffic that exercises the recycling path at the same time a privileged operation destroys the associated interface, a race condition most relevant in multi-tenant environments where untrusted workloads share a kernel with administrative interface management.

03

BranchIntroducedFixed inPatch commit
6.186.146.18.56f78d45d5f1ac
7.26.147.2.100b105f4eb78e
mainline6.147.3bdea4980182e