{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31737","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-03-09T15:48:24.137Z","datePublished":"2026-05-01T14:14:34.229Z","dateUpdated":"2026-05-11T22:14:47.200Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T22:14:47.200Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ftgmac100: fix ring allocation unwind on open failure\n\nftgmac100_alloc_rings() allocates rx_skbs, tx_skbs, rxdes, txdes, and\nrx_scratch in stages. On intermediate failures it returned -ENOMEM\ndirectly, leaking resources allocated earlier in the function.\n\nRework the failure path to use staged local unwind labels and free\nallocated resources in reverse order before returning -ENOMEM. This\nmatches common netdev allocation cleanup style."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/faraday/ftgmac100.c"],"versions":[{"version":"d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e","lessThan":"184b3a500d60ea48d1b176103cff1706c456edf3","status":"affected","versionType":"git"},{"version":"d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e","lessThan":"78da43320d9d6ed788147fb085184e4fc801f057","status":"affected","versionType":"git"},{"version":"d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e","lessThan":"a7e1bf392acf11dc4209820fef75758f6e42bd65","status":"affected","versionType":"git"},{"version":"d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e","lessThan":"8a71911fc7eeea930153322bc1efc065db8cd97e","status":"affected","versionType":"git"},{"version":"d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e","lessThan":"d45230081f19c280096241353c26b0de457de795","status":"affected","versionType":"git"},{"version":"d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e","lessThan":"8351d18989c8642fc53e2e12d94e42314a39b078","status":"affected","versionType":"git"},{"version":"d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e","lessThan":"82f86111f0704ab2ded11a2033bc6cf0be3e09ea","status":"affected","versionType":"git"},{"version":"d72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e","lessThan":"c0fd0fe745f5e8c568d898cd1513d0083e46204a","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/faraday/ftgmac100.c"],"versions":[{"version":"4.12","status":"affected"},{"version":"0","lessThan":"4.12","status":"unaffected","versionType":"semver"},{"version":"5.10.253","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.168","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.134","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.81","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.22","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.12","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"5.10.253"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"5.15.203"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.1.168"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.6.134"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.12.81"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.18.22"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.19.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"7.0"}]}]}],"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"}],"title":"net: ftgmac100: fix ring allocation unwind on open failure","x_generator":{"engine":"bippy-1.2.0"}}}}