Junglewise Threat Intelligence

CVE-2025-71095: Linux Kernel stmmac driver crash in zero-copy XDP_TX action

CVE-2025-71095 · Severity: medium · CVSS 5.5 · Published 2026-01-13

Technologies: Linux Kernel, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP. Vendors: Linux, Siemens.

Executive brief

A vulnerability in the Linux kernel's stmmac network driver can cause a system crash when processing specific high-speed network traffic. This occurs when the system attempts to use 'zero-copy' data transfer methods without correctly identifying the memory type, leading to a kernel panic. An exploit would result in a complete loss of system availability, potentially disrupting industrial operations or server services.

Technical details

A flaw exists in the stmmac network driver's handling of XDP_TX actions when using AF_XDP zero-copy. The function stmmac_xdp_xmit_back() fails to check the memory type of the xdp_buff before conversion to an xdp_frame. While page pool-based buffers use MEM_TYPE_PAGE_POOL, zero-copy XSK pool-based buffers use MEM_TYPE_PAGE_ORDER0. Because the driver incorrectly assumes the page pool type for all transmissions, it creates invalid DMA mappings, resulting in a kernel paging request failure and an 'Oops' crash. Patches have been released for various stable kernel branches to implement the necessary memory type checks.

Affected products

  • Linux Linux Kernel bba2556efad6 to 3f7823219407f2f18044c2b72366a48810c5c821
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.6

Timeline

  • 2025-12-04: disclosed: Initial patch submission by Wei Fang
  • 2026-01-11: patched: Commits merged into stable kernel branches
  • 2026-01-13: advisory: CVE-2025-71095 published

References

Related threats