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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-05-01T14:14:34.229Z
- Modified: 2026-11-11T21:10:00.200Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e before 184b3a500d60ea48d1b176103cff1706c456edf3; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e before 78da43320d9d6ed788147fb085184e4fc801f057; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e before a7e1bf392acf11dc4209820fef75758f6e42bd65; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e before 8a71911fc7eeea930153322bc1efc065db8cd97e; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e before d45230081f19c280096241353c26b0de457de795; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e before 8351d18989c8642fc53e2e12d94e42314a39b078; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e before 82f86111f0704ab2ded11a2033bc6cf0be3e09ea; from d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e before c0fd0fe745f5e8c568d898cd1513d0083e46204a; 4.12 (not affected: before 4.12; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.168 up to 6.1.*; from 6.6.134 up to 6.6.*; from 6.12.81 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 4.12 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.168; from 6.2 before 6.6.134; from 6.7 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/184b3a500d60ea48d1b176103cff1706c456edf3> (patch)
- <https://git.kernel.org/stable/c/78da43320d9d6ed788147fb085184e4fc801f057> (patch)
- <https://git.kernel.org/stable/c/a7e1bf392acf11dc4209820fef75758f6e42bd65> (patch)
- <https://git.kernel.org/stable/c/8a71911fc7eeea930153322bc1efc065db8cd97e> (patch)
- <https://git.kernel.org/stable/c/d45230081f19c280096241353c26b0de457de795> (patch)
- <https://git.kernel.org/stable/c/8351d18989c8642fc53e2e12d94e42314a39b078> (patch)
- <https://git.kernel.org/stable/c/82f86111f0704ab2ded11a2033bc6cf0be3e09ea> (patch)
- <https://git.kernel.org/stable/c/c0fd0fe745f5e8c568d898cd1513d0083e46204a> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

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

---

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