CVE-2026-139697

ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument

An ACPI device object's dev field in passed as the first argument to
devm_kcalloc() in acpi_fan_get_fps() which is incorrect and leads to
a memory leak on driver probe errors and removal because the driver
is not bound to that ACPI device.

Address this by replacing that pointer with a pointer to the device the
driver is actually bound to.

While at it, drop a redundant error message after a memory allocation
failure (that also gets printed relative to the ACPI device).

Analysis

AI-generated

Technical impact

A memory leak occurs in the Linux kernel ACPI fan driver when devm_kcalloc() receives an incorrect pointer, causing heap memory allocated during driver probe failures and removal to remain unreleased. If this occurs repeatedly, the kernel can exhaust available memory, potentially compromising system stability or leading to denial‑of‑service conditions.

Affected Systems

The vulnerability affects all Linux kernel distributions that contain the ACPI fan driver code prior to the application of the upstream patch. No specific vendor versions are listed, so any kernel version before the commit is potentially impacted.

Risk and Exploitability

The EPSS score is not available and the issue is not listed in CISA KEV. The CVSS score is not provided in the data, but the flaw allows a local or privileged attacker to trigger repeated probe failures or device removal, resulting in memory exhaustion. Attack telemetry likely requires kernel code execution or physical access to the machine.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the upstream patch for the ACPI fan memory leak.
  • Reboot the system after applying the update to ensure the patched driver is loaded.
  • If an immediate kernel upgrade is infeasible, disable ACPI fan support by adding the kernel parameter `acpi=off` during boot or preventing the driver from loading via a modprobe blacklist.

Generated by OpenCVE AI on December 1, 2026 at 01:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-400
CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument An ACPI device object's dev field in passed as the first argument to devm_kcalloc() in acpi_fan_get_fps() which is incorrect and leads to a memory leak on driver probe errors and removal because the driver is not bound to that ACPI device. Address this by replacing that pointer with a pointer to the device the driver is actually bound to. While at it, drop a redundant error message after a memory allocation failure (that also gets printed relative to the ACPI device).
Title ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM