{"id":"CVE-2026-98571","state":"PUBLISHED","title":"net: stmmac: clear stale buf->page after recycling on skb build failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: clear stale buf->page after recycling on skb build failure\n\nIn stmmac_rx(), when napi_build_skb() fails the descriptor page is\nrecycled back to the page pool with page_pool_recycle_direct(), but\nbuf->page is left pointing at the recycled page, unlike every other\nconsumption site in the function which clears the pointer after handing\nthe page away.\n\nWith the stale pointer stmmac_rx_refill() skips the replacement\nallocation and programs the already-recycled page back into the RX\ndescriptor.\n\nClear buf->page on the napi_build_skb() failure path to keep the buffer\nlifecycle consistent with the other consumption sites.","publishedAt":"2026-10-18T15:18:37.195Z","updatedAt":"2026-10-19T09:21:56.739Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"df542f669307918f054a17878ff6dd1ddbb2fe18","status":"affected","lessThan":"501baaeca7d128fa0a2f6953cf5873c5b0d7cf89","versionType":"git"},{"version":"df542f669307918f054a17878ff6dd1ddbb2fe18","status":"affected","lessThan":"298673397ea3f6f5811b84f0d9f71eac71dda2e3","versionType":"git"},{"version":"df542f669307918f054a17878ff6dd1ddbb2fe18","status":"affected","lessThan":"0a7822e34a0bfde31b194ac3da3253e5032b44cc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/stmicro/stmmac/stmmac_main.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.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","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":["drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"]}],"references":["https://git.kernel.org/stable/c/501baaeca7d128fa0a2f6953cf5873c5b0d7cf89","https://git.kernel.org/stable/c/298673397ea3f6f5811b84f0d9f71eac71dda2e3","https://git.kernel.org/stable/c/0a7822e34a0bfde31b194ac3da3253e5032b44cc"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98571.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98571","state":"PUBLISHED","datePublished":"2026-10-18T15:18:37.195Z","dateUpdated":"2026-10-19T09:21:56.739Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.357Z"},"containers":{"cna":{"title":"net: stmmac: clear stale buf->page after recycling on skb build failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: clear stale buf->page after recycling on skb build failure\n\nIn stmmac_rx(), when napi_build_skb() fails the descriptor page is\nrecycled back to the page pool with page_pool_recycle_direct(), but\nbuf->page is left pointing at the recycled page, unlike every other\nconsumption site in the function which clears the pointer after handing\nthe page away.\n\nWith the stale pointer stmmac_rx_refill() skips the replacement\nallocation and programs the already-recycled page back into the RX\ndescriptor.\n\nClear buf->page on the napi_build_skb() failure path to keep the buffer\nlifecycle consistent with the other consumption sites."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"df542f669307918f054a17878ff6dd1ddbb2fe18","status":"affected","lessThan":"501baaeca7d128fa0a2f6953cf5873c5b0d7cf89","versionType":"git"},{"version":"df542f669307918f054a17878ff6dd1ddbb2fe18","status":"affected","lessThan":"298673397ea3f6f5811b84f0d9f71eac71dda2e3","versionType":"git"},{"version":"df542f669307918f054a17878ff6dd1ddbb2fe18","status":"affected","lessThan":"0a7822e34a0bfde31b194ac3da3253e5032b44cc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/stmicro/stmmac/stmmac_main.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.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","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":["drivers/net/ethernet/stmicro/stmmac/stmmac_main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/501baaeca7d128fa0a2f6953cf5873c5b0d7cf89"},{"url":"https://git.kernel.org/stable/c/298673397ea3f6f5811b84f0d9f71eac71dda2e3"},{"url":"https://git.kernel.org/stable/c/0a7822e34a0bfde31b194ac3da3253e5032b44cc"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:21:56.739Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.55"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.2.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}