# CVE-2026-72406: net: sungem: fix probe error cleanup

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-08-15T05:56:30.225Z
- Modified: 2026-10-16T19:17:28.417Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: sungem: fix probe error cleanup

gem_init_one() calls gem_remove_one() when register_netdev() fails.
gem_remove_one() unregisters and frees resources owned by the net_device,
including the DMA block, MMIO mapping, PCI regions, and the net_device
itself. gem_init_one() then falls through to its own cleanup labels and
frees the same resources again.

Keep the register_netdev() error path in gem_init_one(): clear drvdata so
PM/remove paths do not see a half-registered device, remove the NAPI
instance added during probe, and let the existing cleanup labels release
the resources once.

The issue was found by a local static-analysis checker for probe error
paths. The reported path was manually inspected before sending this fix.

Compile-tested with CONFIG_SUNGEM=y. Runtime testing was not performed
because no sungem hardware is available.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f3bd60b26814b7c3c57c629abb0857dfc76d214a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f1d04fefb0c2a2de32d9cee22cdc2088be3758d1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 331c99029a1cee1111f82f63d15b3cdebefbd341; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a63eaf7605d1579cf3f551792e478cfaf5ac37d1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fb73cdc50b6755e5c3a80a195b2708a39ada0230; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b15a3cc68e2450aa0edd94a74a7bdd45fcc17dd9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bc49e8746584564dba47d963d1916cc876fc6f6b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 36dea2f639249460d13f6ca66b2a9064187cd34d; 2.6.12 (not affected: before 2.6.12; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/f3bd60b26814b7c3c57c629abb0857dfc76d214a>
- <https://git.kernel.org/stable/c/f1d04fefb0c2a2de32d9cee22cdc2088be3758d1>
- <https://git.kernel.org/stable/c/331c99029a1cee1111f82f63d15b3cdebefbd341>
- <https://git.kernel.org/stable/c/a63eaf7605d1579cf3f551792e478cfaf5ac37d1>
- <https://git.kernel.org/stable/c/fb73cdc50b6755e5c3a80a195b2708a39ada0230>
- <https://git.kernel.org/stable/c/b15a3cc68e2450aa0edd94a74a7bdd45fcc17dd9>
- <https://git.kernel.org/stable/c/bc49e8746584564dba47d963d1916cc876fc6f6b>
- <https://git.kernel.org/stable/c/36dea2f639249460d13f6ca66b2a9064187cd34d>

## Sources

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

---

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