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-97973 Overview
CVE-2026-97973 is a memory leak vulnerability in the Linux kernel's Cadence MACB/GEM Ethernet driver (drivers/net/ethernet/cadence/macb_main.c). The flaw resides in the probe error path, where a failed macb_alloc_tieoff() or register_netdev() call frees the netdev without destroying the associated phylink instance created by macb_mii_init(). This leaves orphaned phylink state in kernel memory each time the probe path fails.
The issue affects systems using Cadence MACB Ethernet controllers, commonly found on ARM-based platforms such as Xilinx Zynq, Microchip SAMA5, and various embedded boards.
Critical Impact
Repeated driver probe failures leak phylink instances in kernel memory, degrading availability on affected embedded and ARM systems.
Affected Products
- Linux kernel versions containing the macb driver with the pre-patch macb_mii_init() and probe unwind logic
- Embedded platforms using Cadence MACB/GEM Ethernet controllers (Xilinx Zynq, Microchip SAMA5/SAM9x60, and similar SoCs)
- Stable kernel branches referenced by the upstream fix commits
Discovery Timeline
- 2026-09-25 - CVE-2026-97973 published to the National Vulnerability Database
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97973
Vulnerability Analysis
The vulnerability is a kernel memory leak in the Cadence MACB network driver. During device probe, macb_mii_init() allocates and registers a phylink instance on both of its success paths. The probe routine subsequently calls macb_alloc_tieoff() and register_netdev(). If either of those calls fails, the probe unwind frees the netdev but never calls phylink_destroy() on bp->phylink.
The result is a leak of the phylink instance and its associated state each time the probe fails after macb_mii_init() succeeds. On systems where probe retries occur, for example due to deferred probe or hotplug events, the leak repeats and consumes kernel memory that cannot be reclaimed without reboot.
The upstream fix destroys the phylink instance at the err_out_unregister_mdio label, which is only reachable after macb_mii_init() has succeeded. This guarantees bp->phylink is valid at the point of cleanup. See the upstream commits: 23b6a44, 7d059f39, 8558e319, and e92a45b8.
Root Cause
The root cause is incomplete error-path cleanup in the macb driver's probe function. The unwind sequence frees the netdev without calling phylink_destroy(), violating the symmetric allocation and release contract required by the phylink subsystem.
Attack Vector
The vulnerability is not remotely exploitable. Triggering the leak requires conditions that cause the macb probe to fail after macb_mii_init() succeeds, such as resource allocation failures or module reload scenarios on systems with Cadence MACB hardware. The practical impact is availability degradation rather than code execution or privilege escalation.
The vulnerability is described in prose because no verified proof-of-concept code is published. Technical details are documented in the referenced kernel commits.
Detection Methods for CVE-2026-97973
Indicators of Compromise
- Kernel log messages from the macb driver indicating probe failures referencing macb_alloc_tieoff or register_netdev failures
- Growing kmalloc-tracked allocations attributable to the phylink subsystem across probe retries
- Repeated macb module load or unload cycles correlated with increased unreclaimable kernel memory
Detection Strategies
- Audit running kernel versions on embedded and ARM fleets to identify systems using the macb driver without the upstream fix applied
- Use kmemleak (CONFIG_DEBUG_KMEMLEAK) on test systems to confirm phylink allocations that are not freed during probe failures
- Correlate dmesg output showing macb probe failures with memory consumption trends in observability tooling
Monitoring Recommendations
- Monitor /proc/meminfo and slab allocator counters on affected hardware for sustained growth of unreclaimable kernel memory
- Collect kernel ring buffer logs centrally and alert on repeated macb probe failure messages
- Track module load and unload events for the macb driver on production embedded platforms
How to Mitigate CVE-2026-97973
Immediate Actions Required
- Identify systems running the Cadence macb Ethernet driver, especially ARM-based embedded platforms
- Apply the upstream Linux kernel fix or update to a stable kernel release that includes the referenced commits
- Avoid repeated manual rebind or module reload cycles on macb devices until patched
Patch Information
The fix is available in the upstream Linux kernel through commits 23b6a44ffea1, 7d059f390750, 8558e3195664, and e92a45b872b0. The patch adds a call to phylink_destroy(bp->phylink) at the err_out_unregister_mdio label in macb_probe(), ensuring the phylink instance is released whenever macb_mii_init() has previously succeeded.
Workarounds
- Rebuild and deploy a kernel that includes the referenced commits as the primary remediation
- Where kernel updates are not immediately possible, minimize events that trigger macb probe retries, such as unnecessary driver unloads or hotplug cycles
- Schedule reboots on long-running embedded systems that have accumulated probe failures to reclaim leaked kernel memory
# Verify kernel version and macb driver presence
uname -r
modinfo macb | grep -E 'filename|version'
# Check dmesg for macb probe failures that may have triggered the leak
dmesg | grep -i macb
# On test systems, enable kmemleak to validate the fix
# CONFIG_DEBUG_KMEMLEAK=y in kernel .config
echo scan > /sys/kernel/debug/kmemleak
cat /sys/kernel/debug/kmemleak
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

