Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98594 Overview
CVE-2026-98594 is a resource management flaw in the Linux kernel's tg3 network driver for Broadcom Tigon3 Ethernet controllers. The driver's tg3_get_invariants() function registers an MDIO bus and connects a PHY for USE_PHYLIB devices during probe. If tg3_init_one() subsequently fails, the common error path releases memory mappings and the netdev without unwinding those PHYLIB resources. The result is a leak of the MDIO bus registration and PHY connection whenever device probing fails partway through initialization.
The issue was identified through static-analysis research of kernel code and resolved by disconnecting the PHY and unregistering the MDIO bus before the remaining teardown runs.
Critical Impact
Failed probing of tg3 network devices leaves MDIO bus and PHY resources registered in the kernel, producing persistent resource leaks that can affect driver reload and system stability.
Affected Products
- Linux kernel tg3 driver for Broadcom Tigon3 Ethernet controllers
- Systems using USE_PHYLIB-enabled tg3 network devices
- Multiple stable kernel branches referenced by the backport commits
Discovery Timeline
- 2026-10-18 - CVE-2026-98594 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98594
Vulnerability Analysis
The tg3 driver supports Broadcom Tigon3 Ethernet hardware and uses the kernel PHYLIB subsystem to manage PHY devices on supported adapters. During probe, tg3_get_invariants() can register an MDIO bus and connect a PHY by calling the internal tg3_phy_init() and tg3_mdio_init() helpers for USE_PHYLIB devices.
If tg3_init_one() later fails, the error path tears down DMA mappings and releases the net_device, but it never disconnects the PHY or unregisters the MDIO bus. Those PHYLIB objects remain registered against the kernel even though the owning driver instance is gone, producing a resource leak and leaving stale references in the MDIO and PHY subsystems.
The fix disconnects the PHY and unregisters the MDIO bus before the rest of the teardown runs. PHY cleanup is guarded with USE_PHYLIB to mirror tg3_phy_init(), and tg3_mdio_fini() is called unconditionally to match tg3_mdio_init(). The existing IS_CONNECTED and MDIOBUS_INITED flags make both helpers safe when initialization completed only partially.
Root Cause
The root cause is an asymmetric error path in tg3_init_one(). The probe routine acquires PHYLIB resources through tg3_get_invariants(), but the common error label releases only memory mappings and the netdev. The function never calls the matching PHYLIB release helpers, leaving the MDIO bus registered and the PHY connected after probe failure.
Attack Vector
The flaw is triggered by failure paths inside tg3_init_one() rather than by directly reachable network input. An attacker with the ability to influence probe-time failures, or a system that repeatedly encounters probe errors on tg3 hardware, can accumulate leaked MDIO bus and PHY references. Local privilege is required to meaningfully trigger repeat probe cycles, for example through module load and unload. Remote exploitation is not described in the advisory.
No verified proof-of-concept code is available. See the upstream fix in Kernel Commit 0844402 for the exact code changes.
Detection Methods for CVE-2026-98594
Indicators of Compromise
- Kernel log entries showing tg3 probe failures followed by lingering MDIO bus registrations for the same device address.
- Residual /sys/class/mdio_bus/ or /sys/class/net/ entries referencing a tg3 interface that failed to initialize.
- Repeated tg3 probe errors during module reload cycles correlated with increasing kernel memory usage.
Detection Strategies
- Audit kernel versions on hosts with Broadcom Tigon3 NICs and compare them against the fixed commits listed in the upstream references.
- Review dmesg output after driver load for tg3 initialization failures and verify that MDIO and PHY teardown messages follow.
- Track module reload events for tg3 and monitor for growth in MDIO bus or PHY device counts between reloads.
Monitoring Recommendations
- Centralize kernel logs and alert on repeated tg3_init_one failure patterns across the fleet.
- Monitor long-lived systems for slow growth in kernel slab allocations tied to the PHY and MDIO subsystems.
- Include driver-level error counters in host telemetry so probe failures are visible to operations teams.
How to Mitigate CVE-2026-98594
Immediate Actions Required
- Inventory hosts running the tg3 driver and identify kernel versions that predate the fix commits.
- Apply the latest stable kernel update for your distribution that includes the backported tg3 PHYLIB cleanup patch.
- Avoid repeated manual load and unload of the tg3 module on unpatched systems to limit leak accumulation.
Patch Information
The fix is distributed across multiple stable kernel branches. Reference commits include Kernel Commit 0844402, Kernel Commit 6515c41, Kernel Commit a449eed, Kernel Commit a92e1a4, Kernel Commit b6c0c75, Kernel Commit ce86d69, Kernel Commit d2abb00, and Kernel Commit e766321. Apply the vendor-supplied kernel package that includes these commits for your distribution.
Workarounds
- Restrict loading of the tg3 module to trusted administrators and avoid unnecessary reload cycles on affected kernels.
- Reboot systems that have accumulated probe failures to clear leaked PHYLIB state until the patched kernel is deployed.
- Where feasible, blacklist the tg3 module on hosts that do not require Broadcom Tigon3 networking until patched kernels are installed.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

