net: ftgmac100: fix ring allocation unwind on open failure (Linux Linux)

CVE-2026-31737
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < 184b3a500d60ea48d1b176103cff1706c456edf3 ; affected d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < 78da43320d9d6ed788147fb085184e4fc801f057 ; affected d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < a7e1bf392acf11dc4209820fef75758f6e42bd65 ; affected d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < 8a71911fc7eeea930153322bc1efc065db8cd97e ; affected d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < d45230081f19c280096241353c26b0de457de795 ; affected d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e < 8351d18989c8642fc53e2e12d94e42314a39b078
Linux · Linuxaffected 4.12 ; unaffected 0 < 4.12 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.168 ≤ 6.1.* ; unaffected 6.6.134 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD