{"id":"CVE-2026-98571","revision":"69039b6c6cea4ba18e80324ddc371626","records":[{"revision":"69039b6c6cea4ba18e80324ddc371626","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98571","aliases":[],"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.","state":0,"publishedAt":"2026-10-18T15:18:37.195+00:00","modifiedAt":"2026-10-19T09:21:56.739+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/stmicro/stmmac/stmmac_main.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"df542f669307918f054a17878ff6dd1ddbb2fe18\",\n                            \"lessThan\": \"501baaeca7d128fa0a2f6953cf5873c5b0d7cf89\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"df542f669307918f054a17878ff6dd1ddbb2fe18\",\n                            \"lessThan\": \"298673397ea3f6f5811b84f0d9f71eac71dda2e3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"df542f669307918f054a17878ff6dd1ddbb2fe18\",\n                            \"lessThan\": \"0a7822e34a0bfde31b194ac3da3253e5032b44cc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/stmicro/stmmac/stmmac_main.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.14\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.14\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.55\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/501baaeca7d128fa0a2f6953cf5873c5b0d7cf89","https://git.kernel.org/stable/c/298673397ea3f6f5811b84f0d9f71eac71dda2e3","https://git.kernel.org/stable/c/0a7822e34a0bfde31b194ac3da3253e5032b44cc"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98571","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98571","identifiers":["CVE-2026-98571"]},"retained":false,"historicalAffected":[]}],"coverage":[]}