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.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel sungem driver contains a flaw in its initialization routine: when register_netdev() fails, gem_init_one() calls gem_remove_one() to clean up resources and then continues through its own cleanup path which attempts to free the same resources again. This double free can corrupt kernel memory and may result in a system crash. The flaw involves the weakness CWE-1341.

Affected Systems

This vulnerability affects any Linux kernel that builds with CONFIG_SUNGEM=y. All versions of the kernel released before the patch commit referenced in the advisory are impacted. Systems that load the sungem module or that have sungem hardware present are susceptible.

Risk and Exploitability

The EPSS score is < 1%, indicating an extremely low probability of exploitation, while the CVSS score of 7.8 classifies it as high severity. The likely attack vector is local: an attacker who can load or probe the sungem driver—for example, by inserting compatible hardware or loading the module—could trigger the fault, potentially causing a system crash. No public exploit is known, and the flaw is mitigated by the patch commit.

Generated by OpenCVE AI on August 22, 2026 at 06:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that contains commit 331c99029a1cee1111f82f63d15b3cdebefbd341.
  • For systems that do not use sangem hardware, disable the module by blacklisting it or setting CONFIG_SUNGEM=n in the kernel configuration.
  • For custom kernel builds, cherry‑pick the patch commit into the tree and rebuild the kernel with the fix applied.

Generated by OpenCVE AI on August 22, 2026 at 06:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1341
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Mon, 17 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-415

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title net: sungem: fix probe error cleanup
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:43:46.309Z

Reserved: 2026-08-09T03:40:39.926Z

Link: CVE-2026-72406

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:14.177

Modified: 2026-08-17T06:19:07.287

Link: CVE-2026-72406

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72406 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T07:00:07Z

Weaknesses
  • CWE-1341

    Multiple Releases of Same Resource or Handle