# CVE-2026-98804: net: page_pool: fix use-after-free in page_pool_recycle_ring_bulk()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-10-18T15:48:51.062Z
- Modified: 2026-10-19T10:19:44.457Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fcc680a647ba77370480fe753664cc10d572b240 before f78d45d5f1ac4141a03f033141368671da4293e4; from fcc680a647ba77370480fe753664cc10d572b240 before 0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c; from fcc680a647ba77370480fe753664cc10d572b240 before bdea4980182e3badac74f04df6c07492b91c569e; 6.14 (not affected: before 6.14; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/f78d45d5f1ac4141a03f033141368671da4293e4>
- <https://git.kernel.org/stable/c/0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c>
- <https://git.kernel.org/stable/c/bdea4980182e3badac74f04df6c07492b91c569e>

## Sources

- CVE List: [CVE-2026-98804](https://www.cve.org/CVERecord?id=CVE-2026-98804), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98804](https://nvd.nist.gov/vuln/detail/CVE-2026-98804), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98804 · Whole record: https://cve.day/CVE-2026-98804.json · Rebuilt by cve.day 2026-11-25T22:59:45.308Z
