# CVE-2026-139697: ACPI: fan: Fix memory leak due to leftover devm\_kcalloc() argument

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:37:08.496Z
- **Modified:** 2026-11-30T14:19:59.477Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker-triggerable flaw in the Linux kernel ACPI fan driver causes a memory leak on probe errors and driver removal due to incorrect devm\_kcalloc() device argument.

## Who should check

- Anyone running Linux \>= 094932903f6d1ecc6df7669c052f9c59a3428a79, \< 8160811079129f96290caa354eda0e7649305414; \>= d91a1d129b63614fa4c2e45e60918409ce36db7e, \< 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad; \>= d91a1d129b63614fa4c2e45e60918409ce36db7e, \< 755c4d87215134d00d66355ab1f36c4c53c629e4; \>= d91a1d129b63614fa4c2e45e60918409ce36db7e, \< 2cf65d00347005eccf9a24801783377d7f920021; 1cf52204e78526cd1a2b49892c4e312735c7273b; \>= 6.12.58, \< 6.12.119; \>= 6.17.8, \< 6.18
- Anyone running Linux 6.18

## 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).

## Affected and fixed versions

- Linux: \>= 094932903f6d1ecc6df7669c052f9c59a3428a79, \< 8160811079129f96290caa354eda0e7649305414; \>= d91a1d129b63614fa4c2e45e60918409ce36db7e, \< 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad; \>= d91a1d129b63614fa4c2e45e60918409ce36db7e, \< 755c4d87215134d00d66355ab1f36c4c53c629e4; \>= d91a1d129b63614fa4c2e45e60918409ce36db7e, \< 2cf65d00347005eccf9a24801783377d7f920021; 1cf52204e78526cd1a2b49892c4e312735c7273b; \>= 6.12.58, \< 6.12.119; \>= 6.17.8, \< 6.18 (cvelist)
- Linux: 6.18 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6.18 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139697. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139697.md
Affected: Linux >= 094932903f6d1ecc6df7669c052f9c59a3428a79, < 8160811079129f96290caa354eda0e7649305414; >= d91a1d129b63614fa4c2e45e60918409ce36db7e, < 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad; >= d91a1d129b63614fa4c2e45e60918409ce36db7e, < 755c4d87215134d00d66355ab1f36c4c53c629e4; >= d91a1d129b63614fa4c2e45…
Fixed in: Linux 8160811079129f96290caa354eda0e7649305414, Linux 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad, Linux 755c4d87215134d00d66355ab1f36c4c53c629e4, Linux 2cf65d00347005eccf9a24801783377d7f920021, Linux 6.12.119, Linux 6.18

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139697 being exploited?

There is no confirmed exploitation: CVE-2026-139697 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139697?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139697?

Linux \>= 094932903f6d1ecc6df7669c052f9c59a3428a79, \< 8160811079129f96290caa354eda0e7649305414; \>= d91a1d129b63614fa4c2e45e60918409ce36db7e, \< 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad; \>= d91a1d129b63614fa4c2e45e60918409ce36db7e, \< 755c4d87215134d00d66355ab1f36c4c53c629e4; \>= d91a1d129b63614fa4c2e45e60918409ce36db7e, \< 2cf65d00347005eccf9a24801783377d7f920021; 1cf52204e78526cd1a2b49892c4e312735c7273b; \>= 6.12.58, \< 6.12.119; \>= 6.17.8, \< 6.18; Linux 6.18.

### Is there a fix for CVE-2026-139697?

Yes. Fixed in Linux 8160811079129f96290caa354eda0e7649305414, Linux 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad, Linux 755c4d87215134d00d66355ab1f36c4c53c629e4, Linux 2cf65d00347005eccf9a24801783377d7f920021, Linux 6.12.119, Linux 6.18. Upgrade Linux to 6.18 or later.

### How do I check if I'm affected by CVE-2026-139697?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/8160811079129f96290caa354eda0e7649305414>
- other: <https://git.kernel.org/stable/c/615db7a9c7130aefd9f09eaa63f27cd78a33f9ad>
- other: <https://git.kernel.org/stable/c/755c4d87215134d00d66355ab1f36c4c53c629e4>
- other: <https://git.kernel.org/stable/c/2cf65d00347005eccf9a24801783377d7f920021>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139697>

HTML: <https://flawdb.com/CVE-2026-139697> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139697>
