{"id":"CVE-2026-98571","title":"net: stmmac: clear stale buf->page after recycling on skb build failure","summary":"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 po…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= df542f669307918f054a17878ff6dd1ddbb2fe18 < 501baaeca7d128fa0a2f6953cf5873c5b0d7cf89","Linux >= df542f669307918f054a17878ff6dd1ddbb2fe18 < 298673397ea3f6f5811b84f0d9f71eac71dda2e3","Linux >= df542f669307918f054a17878ff6dd1ddbb2fe18 < 0a7822e34a0bfde31b194ac3da3253e5032b44cc","Linux 6.14"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:18:37.195Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98571","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"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T15:45:12.257Z","slug":"CVE-2026-98571","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `Linux >= df542f669307918f054a17878ff6dd1ddbb2fe18 < 501baaeca7d128fa0a2f6953cf5873c5b0d7cf89`\n- `Linux >= df542f669307918f054a17878ff6dd1ddbb2fe18 < 298673397ea3f6f5811b84f0d9f71eac71dda2e3`\n- `Linux >= df542f669307918f054a17878ff6dd1ddbb2fe18 < 0a7822e34a0bfde31b194ac3da3253e5032b44cc`\n- `Linux 6.14`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}