{"id":"CVE-2026-98804","aliases":["CVE-2026-98804"],"related":[],"kind":"vulnerability","state":"published","title":"net: page_pool: fix use-after-free in page_pool_recycle_ring_bulk()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: page_pool: fix use-after-free in page_pool_recycle_ring_bulk()\n\nWith CONFIG_PAGE_POOL_STATS=y, page_pool_recycle_ring_bulk() updates\nthe recycle stats after dropping the producer lock. If it just recycled\nthe last inflight netmems of a pool being destroyed, page_pool_release()\ncan pass its producer-lock barrier and free the pool before\nrecycle_stat_add() runs.\n\nCommit fcc680a647ba7 (\"page_pool: allow mixing PPs within one bulk\")\nmoved this stat update after the unlock. Commit 271683bb2cf32\n(\"page_pool: Fix use-after-free in page_pool_recycle_in_ring\") later\nadded the barrier, but only fixed page_pool_recycle_in_ring(). Move\nthe update back under the lock.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: page_pool: fix use-after-free in page_pool_recycle_ring_bulk()\n\nWith CONFIG_PAGE_POOL_STATS=y, page_pool_recycle_ring_bulk() updates\nthe recycle stats after dropping the producer lock. If it just recycled\nthe last inflight netmems of a pool being destroyed, page_pool_release()\ncan pass its producer-lock barrier and free the pool before\nrecycle_stat_add() runs.\n\nCommit fcc680a647ba7 (\"page_pool: allow mixing PPs within one bulk\")\nmoved this stat update after the unlock. Commit 271683bb2cf32\n(\"page_pool: Fix use-after-free in page_pool_recycle_in_ring\") later\nadded the barrier, but only fixed page_pool_recycle_in_ring(). Move\nthe update back under the lock.","source":"cvelist"}],"published":"2026-10-18T15:48:51.062Z","modified":"2026-10-19T10:19:44.457Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fcc680a647ba77370480fe753664cc10d572b240","fixed":"f78d45d5f1ac4141a03f033141368671da4293e4","status":"affected"},{"type":"git","introduced":"fcc680a647ba77370480fe753664cc10d572b240","fixed":"0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c","status":"affected"},{"type":"git","introduced":"fcc680a647ba77370480fe753664cc10d572b240","fixed":"bdea4980182e3badac74f04df6c07492b91c569e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f78d45d5f1ac4141a03f033141368671da4293e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bdea4980182e3badac74f04df6c07492b91c569e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98804","url":"https://www.cve.org/CVERecord?id=CVE-2026-98804","licence":"CVE Terms of Use","modified":"2026-10-19T09:25:57.688Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98804","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98804","licence":"Public domain","modified":"2026-10-19T10:19:44.457Z"}],"updatedAt":"2026-11-25T22:59:45.308Z","epss":{"score":0.00198,"percentile":0.10034,"date":"2026-12-01T12:00:22.000Z"}}