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-98535 Overview
CVE-2026-98535 is a resource management flaw in the Linux kernel's Freescale FMan (Frame Manager) network driver. The read_dts_node() function in drivers/net/ethernet/freescale/fman/ calls of_clk_get() to obtain a clock reference, reads its rate, and then fails to release the reference with clk_put(). Because the clock pointer is not stored for later use, the reference can never be freed. The defect causes a clock reference count leak each time the function executes, including in the error path when the reported rate is zero.
Critical Impact
Repeated probing of FMan devices leaks kernel clock references, which can prevent clean driver teardown and contribute to resource exhaustion on long-running systems using Freescale QorIQ hardware.
Affected Products
- Linux kernel builds that include the fsl/fman driver (Freescale/NXP QorIQ platforms)
- Multiple stable branches referenced by the kernel.org fix commits
- Distributions shipping unpatched Linux kernels with the CONFIG_FSL_FMAN option enabled
Discovery Timeline
- 2026-10-18 - CVE-2026-98535 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98535
Vulnerability Analysis
The defect lives in the Freescale FMan Ethernet driver's device-tree parsing routine. During device probe, read_dts_node() calls of_clk_get() to retrieve the FMan reference clock. The kernel clock framework returns a reference with its refcount incremented. The function reads the rate via clk_get_rate() and then returns without calling clk_put(). The pointer is local to the function and is not stored in any driver state structure, so no later code path can release it.
Each successful probe permanently leaks one clock reference. If the rate is zero, the function takes an error path and still fails to drop the reference. The upstream fix releases the clock immediately after the rate is read, covering both the normal and error paths.
Root Cause
The root cause is a missing clk_put() call paired with an acquired of_clk_get() reference, a classic reference-count imbalance in kernel resource management. The clock pointer's limited lexical scope made the leak unreachable from any cleanup handler.
Attack Vector
No remote attack vector is associated with this flaw. It is a local resource leak triggered through normal driver initialization. On systems with repeated module load/unload cycles or hotplug events on Freescale FMan hardware, the leak accumulates and can impede proper clock teardown.
No verified exploit code is available. See the upstream kernel commits for the technical fix: Kernel Commit 5c90f99, Kernel Commit 874fd58, Kernel Commit 9fd6d08, and Kernel Commit a644f09.
Detection Methods for CVE-2026-98535
Indicators of Compromise
- No malware-style indicators of compromise apply because the issue is a non-exploitable resource leak rather than an attacker-driven condition.
- Elevated clock reference counts for FMan devices visible under /sys/kernel/debug/clk/clk_summary on affected hardware.
Detection Strategies
- Audit running kernel versions against the fixed commits listed in the NVD references to determine exposure.
- Review build configurations for CONFIG_FSL_FMAN=y or =m on NXP/Freescale QorIQ platforms.
- Use static analysis tools such as smatch or Coccinelle scripts that flag of_clk_get() paths lacking a matching clk_put().
Monitoring Recommendations
- Monitor clock subsystem health through clk_summary for anomalous refcounts after repeated FMan driver load cycles.
- Track kernel package versions through configuration management to confirm patched builds are deployed on QorIQ systems.
- Collect dmesg output during driver probe to detect warnings about clock resource handling.
How to Mitigate CVE-2026-98535
Immediate Actions Required
- Identify Linux hosts running the fsl/fman driver on Freescale/NXP QorIQ hardware and inventory kernel versions.
- Apply vendor kernel updates that incorporate the upstream fix from the referenced stable commits.
- Schedule a reboot after patching, since the fix is in a built-in or probe-time code path.
Patch Information
The Linux kernel maintainers released fixes across multiple stable branches. The patches add a clk_put() call immediately after clk_get_rate() in read_dts_node(), covering both the success and zero-rate error paths. Relevant commits include 5c90f99, 874fd58, 9fd6d08, a644f09, c2a5e59, c2edf37, cb52f9f, and e560bdf.
Workarounds
- Avoid repeated unbind/rebind or module reload cycles of the fsl_fman driver on unpatched kernels to limit leak accumulation.
- Disable CONFIG_FSL_FMAN on kernels built for hardware that does not require Freescale Frame Manager support.
- Rebuild and deploy a patched kernel from distribution security channels as the only durable fix.
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

