CVE-2026-98804

Source
https://cve.org/CVERecord?id=CVE-2026-98804
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98804.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98804
Downstream
Published
2026-10-18T15:48:51Z
Modified
2026-10-20T02:31:02Z
Summary
net: page_pool: fix use-after-free in page_pool_recycle_ring_bulk()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98804.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fcc680a647ba77370480fe753664cc10d572b240
Fixed
f78d45d5f1ac4141a03f033141368671da4293e4
Fixed
0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c
Fixed
bdea4980182e3badac74f04df6c07492b91c569e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98804.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98804.json"