⚠️

Disclaimer & Liability

The content provided on this website is for educational, research, and security awareness purposes only. Any unauthorized, illegal, or abusive use of the information, tools, and techniques discussed is solely the responsibility of the user. The author and publisher assume no liability for any damages, injuries, or consequences resulting from the misuse of this content.

CVE-2026-139697: Linux Kernel ACPI Fan Driver Memory Leak | Alireza Bolbolabadi - Red Team Security
LOADING

CVE-2026-139697: Linux Kernel ACPI Fan Driver Memory Leak

Executive summary

CVE-2026-139697 affects the Linux kernel’s ACPI fan driver, specifically the implementation of acpi_fan_get_fps(). During driver probing, the function passes an ACPI device object’s dev field to devm_kcalloc() even though the driver is bound to a different device. This mismatch causes the managed allocation to be associated with the wrong device object.

When driver probing fails or the driver is removed, the allocation can remain in memory because it is not released with the device to which the driver was actually bound. The upstream correction uses the bound device pointer and also removes a redundant error message following an allocation failure.

The practical impact is a kernel memory leak rather than memory corruption or code execution. The provided intelligence contains no CVSS vector, no evidence of exploitation, and no indication that CVE-2026-139697 is present in the CISA KEV catalog. Real-world severity is therefore assessed as low.

Technical analysis

Root cause

Managed kernel allocations are tied to a device through the first argument supplied to devm_kcalloc(). In the vulnerable implementation of acpi_fan_get_fps(), that argument comes from an ACPI device object’s dev field rather than from the device to which the fan driver is actually bound.

The incorrect association creates two problematic lifecycle outcomes:

  • A probe error can leave the allocation attached to a device that does not own it.

  • Driver removal can fail to release the allocation with the correct device lifecycle.

The result is retained kernel memory. The fix replaces the pointer with the device to which the driver is bound, restoring the intended devres cleanup relationship. It also eliminates an unnecessary allocation-failure message that the advisory notes was already printed relative to the ACPI device.

Attack surface and exploitability

CVE-2026-139697 is not described as an authentication, authorization, input-parsing, or privilege-boundary flaw. It occurs during ACPI fan-driver lifecycle operations such as probing, probe failure, removal, or unloading. The advisory does not identify a remote or unprivileged method for reliably forcing repeated leakage.

Repeated probe failures or removal cycles could gradually increase kernel memory consumption on an affected system. Such activity might contribute to resource exhaustion, particularly on systems that frequently exercise ACPI device changes or driver lifecycle transitions. However, the source does not quantify memory consumption, repetition requirements, or operational impact, and the supplied intelligence records no active exploitation.

This defect should not be confused with a write primitive, use-after-free, or other memory-safety issue. Its demonstrated consequence is resource leakage.

Affected systems

  • Product: Linux kernel

  • Component: ACPI fan driver

  • Affected function: acpi_fan_get_fps()

  • Affected allocation mechanism: devm_kcalloc()

  • Known impact: Kernel memory leak during probe failure or driver removal

The available advisory does not specify exact affected kernel versions, the first fixed upstream release, or the distribution kernels that received backports. It confirms that the issue was resolved upstream, but the exact fix release and maintained-package status remain unknown from the supplied context.

Systems that do not use the ACPI fan driver are not expected to exercise the identified path. Systems that repeatedly encounter ACPI fan-driver probe failures, unloading, or device-removal events have a more plausible opportunity to accumulate leaked allocations.

Mitigation

Apply an upstream Linux kernel update containing the fix for CVE-2026-139697, or install the corresponding backport from the relevant Linux distribution or hardware vendor. Because the supplied source does not identify affected and fixed version ranges, version applicability must be confirmed with the provider maintaining the deployed kernel package.

No general software or hardware workaround is documented in the advisory. Limiting unnecessary ACPI fan-driver load and removal cycles may reduce exposure, but this is an operational risk-reduction measure rather than a verified upstream workaround.

For controlled validation, administrators can compare kernel memory and slab or devres usage before and after repeatedly exercising ACPI fan-driver probe-failure and removal paths. They should also correlate memory retention with ACPI fan-driver messages and device-removal events.

The removal of the redundant allocation-failure message is intentional. Its absence after patching is not evidence that the system remains vulnerable or that the fix was ineffective.

Expert insight

The key security significance is lifecycle correctness in kernel-managed allocations. Device-managed memory is released according to the ownership relationship recorded when the allocation is made. Associating that allocation with a neighboring ACPI device object can therefore outlive the driver responsible for it, even though the underlying allocation function behaves as designed.

For incident responders and vulnerability managers, the most important qualification is proportionality. This is a confirmed resource-leak defect with no reported exploitation, no privilege escalation, and no direct code-execution path. It belongs in routine kernel maintenance rather than emergency incident response. Its long-term relevance is that repeated ACPI lifecycle failures may create a low-level availability concern on systems with constrained memory, particularly where lifecycle operations are frequent or poorly controlled.

References

·
← News