CVE-2026-72406

net: sungem: fix probe error cleanup

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f3bd60b26814b7c3c57c629abb0857dfc76d214aAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f1d04fefb0c2a2de32d9cee22cdc2088be3758d1Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 331c99029a1cee1111f82f63d15b3cdebefbd341Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a63eaf7605d1579cf3f551792e478cfaf5ac37d1Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before fb73cdc50b6755e5c3a80a195b2708a39ada0230Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b15a3cc68e2450aa0edd94a74a7bdd45fcc17dd9Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before bc49e8746584564dba47d963d1916cc876fc6f6bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 36dea2f639249460d13f6ca66b2a9064187cd34dAffected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.