{"id":"CVE-2026-98804","state":"PUBLISHED","title":"net: page_pool: fix use-after-free in page_pool_recycle_ring_bulk()","description":"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.","publishedAt":"2026-10-18T15:48:51.062Z","updatedAt":"2026-10-19T09:25:57.688Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fcc680a647ba77370480fe753664cc10d572b240","status":"affected","lessThan":"f78d45d5f1ac4141a03f033141368671da4293e4","versionType":"git"},{"version":"fcc680a647ba77370480fe753664cc10d572b240","status":"affected","lessThan":"0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c","versionType":"git"},{"version":"fcc680a647ba77370480fe753664cc10d572b240","status":"affected","lessThan":"bdea4980182e3badac74f04df6c07492b91c569e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/page_pool.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/page_pool.c"]}],"references":["https://git.kernel.org/stable/c/f78d45d5f1ac4141a03f033141368671da4293e4","https://git.kernel.org/stable/c/0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c","https://git.kernel.org/stable/c/bdea4980182e3badac74f04df6c07492b91c569e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98804.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98804","state":"PUBLISHED","datePublished":"2026-10-18T15:48:51.062Z","dateUpdated":"2026-10-19T09:25:57.688Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.371Z"},"containers":{"cna":{"title":"net: page_pool: fix use-after-free in page_pool_recycle_ring_bulk()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fcc680a647ba77370480fe753664cc10d572b240","status":"affected","lessThan":"f78d45d5f1ac4141a03f033141368671da4293e4","versionType":"git"},{"version":"fcc680a647ba77370480fe753664cc10d572b240","status":"affected","lessThan":"0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c","versionType":"git"},{"version":"fcc680a647ba77370480fe753664cc10d572b240","status":"affected","lessThan":"bdea4980182e3badac74f04df6c07492b91c569e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/page_pool.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/page_pool.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f78d45d5f1ac4141a03f033141368671da4293e4"},{"url":"https://git.kernel.org/stable/c/0b105f4eb78e5ee39e5a74c47c9efd69b6ac849c"},{"url":"https://git.kernel.org/stable/c/bdea4980182e3badac74f04df6c07492b91c569e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:25:57.688Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}