# CVE-2026-31737: Linux Kernel ftgmac100 resource leak in ring allocation failure

Source: https://junglewise.ai/threats/cve-2026-31737-linux-kernel-ftgmac100-resource-leak-in-ring-allocation-failure  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-01. Updated: 2026-07-14  
License: CC BY 4.0 with a link back

CVE-2026-31737 · Severity: medium · CVSS 5.5 · Published 2026-05-01

A memory leak vulnerability was identified in the Linux kernel's Faraday FTGMAC100 ethernet driver, which is used in various industrial networking components including certain Siemens SIMATIC controllers. If the driver fails to initialize properly, it may fail to release previously allocated memory, leading to a gradual depletion of system resources. In practice, this could allow a local attacker to cause a denial-of-service condition, potentially impacting the availability of industrial control operations.

Technologies: [Linux Kernel](https://junglewise.ai/threats/technologies/kernel), [Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP](https://junglewise.ai/threats/technologies/simatic-s7-1500-cpu-1518-4-pn-dp-mfp), [Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP](https://junglewise.ai/threats/technologies/simatic-s7-1500-cpu-1518f-4-pn-dp-mfp), [Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP](https://junglewise.ai/threats/technologies/siplus-s7-1500-cpu-1518-4-pn-dp-mfp). Vendors: [Linux](https://junglewise.ai/threats/vendors/linux), [Siemens](https://junglewise.ai/threats/vendors/siemens).

## Quick answers

**Is CVE-2026-31737 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-31737 being exploited in the wild.

**How severe is CVE-2026-31737?** Medium severity, with a CVSS score of 5.5, published 1 May 2026.

**Which products and versions are affected?** Linux Kernel ftgmac100 driver; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5, V3.1.6; Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6.

**Is there a fix for CVE-2026-31737?** A patch was published on 2026-04-18: Committed to Linux stable tree by Greg Kroah-Hartman Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-31737 attacked?** It is attacked with local access, in an operating system.

**Am I affected by CVE-2026-31737?** Check whether you run Linux Kernel, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A vulnerability exists in the ftgmac100_alloc_rings() function within the Faraday FTGMAC100 ethernet driver (drivers/net/ethernet/faraday/ftgmac100.c). The function allocates multiple resources (rx_skbs, tx_skbs, rxdes, txdes, and rx_scratch) in stages; however, if an intermediate allocation fails, the function returns -ENOMEM immediately without unwinding or freeing previously allocated resources. This results in a kernel memory leak. A local attacker could potentially trigger repeated interface open/close cycles to exhaust system memory, leading to a denial-of-service (DoS). The fix introduces staged local unwind labels to ensure all resources are freed in reverse order upon failure.

## Affected products

- Linux Linux Kernel ftgmac100 driver
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5, V3.1.6
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6

## Timeline

- 2026-03-29: disclosed: Initial patch authored by Yufan Chen
- 2026-04-18: patched: Committed to Linux stable tree by Greg Kroah-Hartman
- 2026-05-01: advisory: CVE published to NVD

## References

- [https://git.kernel.org/stable/c/184b3a500d60ea48d1b176103cff1706c456edf3](https://git.kernel.org/stable/c/184b3a500d60ea48d1b176103cff1706c456edf3)
- [https://git.kernel.org/stable/c/78da43320d9d6ed788147fb085184e4fc801f057](https://git.kernel.org/stable/c/78da43320d9d6ed788147fb085184e4fc801f057)
- [https://git.kernel.org/stable/c/82f86111f0704ab2ded11a2033bc6cf0be3e09ea](https://git.kernel.org/stable/c/82f86111f0704ab2ded11a2033bc6cf0be3e09ea)
- [https://git.kernel.org/stable/c/8351d18989c8642fc53e2e12d94e42314a39b078](https://git.kernel.org/stable/c/8351d18989c8642fc53e2e12d94e42314a39b078)
- [https://git.kernel.org/stable/c/8a71911fc7eeea930153322bc1efc065db8cd97e](https://git.kernel.org/stable/c/8a71911fc7eeea930153322bc1efc065db8cd97e)
- [https://git.kernel.org/stable/c/a7e1bf392acf11dc4209820fef75758f6e42bd65](https://git.kernel.org/stable/c/a7e1bf392acf11dc4209820fef75758f6e42bd65)
- [https://git.kernel.org/stable/c/c0fd0fe745f5e8c568d898cd1513d0083e46204a](https://git.kernel.org/stable/c/c0fd0fe745f5e8c568d898cd1513d0083e46204a)

## Related threats

- [Linux IOMMU page table logic error in arm_lpae_split_blk_unmap](https://junglewise.ai/threats/cve-2026-56934-in-arm-lpae-split-blk-unmap-of-drivers-iommu-io-pgtable-arm)
- [Linux kernel null pointer dereference in TCP established lookup](https://junglewise.ai/threats/cve-2026-99288-in-the-linux-kernel-the-following-vulnerability-has-been-resolved)
- [Linux kernel xen-netback race condition in XenBus disconnect](https://junglewise.ai/threats/cve-2026-99286-in-the-linux-kernel-the-following-vulnerability-has-been-resolved)
- [Linux kernel shared-frag flag loss in skb_zerocopy](https://junglewise.ai/threats/cve-2026-99284-in-the-linux-kernel-the-following-vulnerability-has-been-resolved)
- [Linux kernel netfilter conntrack TCP RST timeout handling](https://junglewise.ai/threats/cve-2026-99283-in-the-linux-kernel-the-following-vulnerability-has-been-resolved)
