# CVE-2026-98571: net: stmmac: clear stale buf->page after recycling on skb build failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-10-18T15:18:37.195Z
- Modified: 2026-10-19T10:19:15.207Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: stmmac: clear stale buf->page after recycling on skb build failure

In stmmac_rx(), when napi_build_skb() fails the descriptor page is
recycled back to the page pool with page_pool_recycle_direct(), but
buf->page is left pointing at the recycled page, unlike every other
consumption site in the function which clears the pointer after handing
the page away.

With the stale pointer stmmac_rx_refill() skips the replacement
allocation and programs the already-recycled page back into the RX
descriptor.

Clear buf->page on the napi_build_skb() failure path to keep the buffer
lifecycle consistent with the other consumption sites.

(As written by CVE List.)

## Affected

- Linux Linux: from df542f669307918f054a17878ff6dd1ddbb2fe18 before 501baaeca7d128fa0a2f6953cf5873c5b0d7cf89; from df542f669307918f054a17878ff6dd1ddbb2fe18 before 298673397ea3f6f5811b84f0d9f71eac71dda2e3; from df542f669307918f054a17878ff6dd1ddbb2fe18 before 0a7822e34a0bfde31b194ac3da3253e5032b44cc; 6.14 (not affected: before 6.14; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/501baaeca7d128fa0a2f6953cf5873c5b0d7cf89>
- <https://git.kernel.org/stable/c/298673397ea3f6f5811b84f0d9f71eac71dda2e3>
- <https://git.kernel.org/stable/c/0a7822e34a0bfde31b194ac3da3253e5032b44cc>

## Sources

- CVE List: [CVE-2026-98571](https://www.cve.org/CVERecord?id=CVE-2026-98571), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98571](https://nvd.nist.gov/vuln/detail/CVE-2026-98571), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98571 · Whole record: https://cve.day/CVE-2026-98571.json · Rebuilt by cve.day 2026-11-25T22:59:45.231Z
