{"id":"CVE-2026-98571","summary":"net: stmmac: clear stale buf-\u003epage after recycling on skb build failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: stmmac: clear stale buf-\u003epage 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-\u003epage 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-\u003epage on the napi_build_skb() failure path to keep the buffer\nlifecycle consistent with the other consumption sites.","modified":"2026-10-20T02:30:41.173865570Z","published":"2026-10-18T15:18:37.195Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98571.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0a7822e34a0bfde31b194ac3da3253e5032b44cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/298673397ea3f6f5811b84f0d9f71eac71dda2e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/501baaeca7d128fa0a2f6953cf5873c5b0d7cf89"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98571.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98571"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"df542f669307918f054a17878ff6dd1ddbb2fe18"},{"fixed":"501baaeca7d128fa0a2f6953cf5873c5b0d7cf89"},{"fixed":"298673397ea3f6f5811b84f0d9f71eac71dda2e3"},{"fixed":"0a7822e34a0bfde31b194ac3da3253e5032b44cc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98571.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.18.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98571.json"}}],"schema_version":"1.9.0"}