---
id: CVE-2026-31737
title: 'net: ftgmac100: fix ring allocation unwind on open failure'
summary: |-
  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 …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e <
    184b3a500d60ea48d1b176103cff1706c456edf3
  - >-
    Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e <
    78da43320d9d6ed788147fb085184e4fc801f057
  - >-
    Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e <
    a7e1bf392acf11dc4209820fef75758f6e42bd65
  - >-
    Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e <
    8a71911fc7eeea930153322bc1efc065db8cd97e
  - >-
    Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e <
    d45230081f19c280096241353c26b0de457de795
  - >-
    Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e <
    8351d18989c8642fc53e2e12d94e42314a39b078
  - >-
    Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e <
    82f86111f0704ab2ded11a2033bc6cf0be3e09ea
  - >-
    Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e <
    c0fd0fe745f5e8c568d898cd1513d0083e46204a
  - Linux 4.12
published: '2026-05-01'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T08:48:12.170Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-31737'
references:
  - url: 'https://git.kernel.org/stable/c/184b3a500d60ea48d1b176103cff1706c456edf3'
  - url: 'https://git.kernel.org/stable/c/78da43320d9d6ed788147fb085184e4fc801f057'
  - url: 'https://git.kernel.org/stable/c/a7e1bf392acf11dc4209820fef75758f6e42bd65'
  - url: 'https://git.kernel.org/stable/c/8a71911fc7eeea930153322bc1efc065db8cd97e'
  - url: 'https://git.kernel.org/stable/c/d45230081f19c280096241353c26b0de457de795'
  - url: 'https://git.kernel.org/stable/c/8351d18989c8642fc53e2e12d94e42314a39b078'
  - url: 'https://git.kernel.org/stable/c/82f86111f0704ab2ded11a2033bc6cf0be3e09ea'
  - url: 'https://git.kernel.org/stable/c/c0fd0fe745f5e8c568d898cd1513d0083e46204a'
tags:
  - cve.org
epss: 0.00171
epssPercentile: 0.05624
ingestedAt: '2026-09-08T15:33:26.989Z'
---

## Overview

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.

## Affected

- `Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < 184b3a500d60ea48d1b176103cff1706c456edf3`
- `Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < 78da43320d9d6ed788147fb085184e4fc801f057`
- `Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < a7e1bf392acf11dc4209820fef75758f6e42bd65`
- `Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < 8a71911fc7eeea930153322bc1efc065db8cd97e`
- `Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < d45230081f19c280096241353c26b0de457de795`
- `Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < 8351d18989c8642fc53e2e12d94e42314a39b078`
- `Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < 82f86111f0704ab2ded11a2033bc6cf0be3e09ea`
- `Linux >= d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < c0fd0fe745f5e8c568d898cd1513d0083e46204a`
- `Linux 4.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
