NetSight
medium5.5

CVE-2026-31737

In the Linux kernel, the following vulnerability has been resolved: net: ftgmac100: fix ring allocation unwind on open failure ftgmac100_alloc_rings() allocate…

Impact

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 products

VendorProductAffected versions
LinuxLinux 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

References