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.
Published: 2026-10-18
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel memory corruption and possible system crash
Action: Apply Patch
AI Analysis

Impact

The Linux kernel’s stmmac network driver releases a page back to the pool when skb construction fails but fails to clear the page pointer on the descriptor. The stale pointer is later reused, causing the driver to assign a page that has already been returned to the pool. This results in a use‑after‑free and memory corruption within the kernel, which can lead to a denial‑of‑service crash or, if an attacker manages to trigger the fault repeatedly, potentially extract information from kernel memory. The weakness is an instance of improper handling of freed memory (CWE-825).

Affected Systems

Linux kernel running the stmmac driver. All kernel versions that lack the patch compiled into the stmmac module are affected. No specific version range is listed in the CVE data.

Risk and Exploitability

The CVSS score of 5.9 indicates a moderate impact. The EPSS score of less than 1% suggests a low probability of exploitation. The vulnerability is not listed in CISA KEV. The risk is assessed as a kernel memory corruption that could cause a crash if an attacker can force skb build failures in the stmmac driver. The likely attack vector is through crafted network traffic or a denial‑of‑service condition on the NIC that leads to repeated skb build failures. While exploitation has not been demonstrated publicly, the potential impact on confidentiality, integrity, and availability is significant for affected systems.

Generated by OpenCVE AI on October 20, 2026 at 16:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that includes the stmmac_rx patch shown in the provided references
  • If a kernel upgrade cannot be performed immediately, disable or isolate the network interfaces that use the stmmac driver to prevent traffic from triggering skb build failures
  • If the chipset or driver is not required for operation, consider unloading or removing the stmmac driver from the kernel

Generated by OpenCVE AI on October 20, 2026 at 16:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title net: stmmac: clear stale buf->page after recycling on skb build failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:21:56.739Z

Reserved: 2026-09-25T10:25:14.357Z

Link: CVE-2026-98571

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:09.363

Modified: 2026-10-19T10:19:15.207

Link: CVE-2026-98571

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98571 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T16:45:14Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference