Skip to content
FlawDB
Sign in

CVE-2026-139697

UNSCORED

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

AI summary AI generated

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.

Mitigation

  • Upgrade Linux to 6.18 or later.

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

Vulnerability facts

Affected
Linux >= 094932903f6d1ecc6df7669c052f9c59a3428a79, < 8160811079129f96290caa354eda0e7649305414; >= d91a1d129b63614fa4c2e45e60918409ce36db7e, < 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad; >= d91a1d129b63614fa4c2e45e60918409ce36db7e, < 755c4d87215134d00d66355ab1f36c4c53c629e4; >= d91a1d129b63614fa4c2e45e60918409ce36db7e, < 2cf65d00347005eccf9a24801783377d7f920021; 1cf52204e78526cd1a2b49892c4e312735c7273b; >= 6.12.58, < 6.12.119; >= 6.17.8, < 6.18; Linux 6.18
Fixed in
Linux 8160811079129f96290caa354eda0e7649305414, Linux 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad, Linux 755c4d87215134d00d66355ab1f36c4c53c629e4, Linux 2cf65d00347005eccf9a24801783377d7f920021, Linux 6.12.119, Linux 6.18
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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

Package / productAffectedFixedSource
Linux>= 094932903f6d1ecc6df7669c052f9c59a3428a79, < 8160811079129f96290caa354eda0e7649305414; >= d91a1d129b63614fa4c2e45e60918409ce36db7e, < 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad; >= d91a1d129b63614fa4c2e45e60918409ce36db7e, < 755c4d87215134d00d66355ab1f36c4c53c629e4; >= d91a1d129b63614fa4c2e45e60918409ce36db7e, < 2cf65d00347005eccf9a24801783377d7f920021; 1cf52204e78526cd1a2b49892c4e312735c7273b; >= 6.12.58, < 6.12.119; >= 6.17.8, < 6.18—cvelist
Linux6.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

Technologies

References

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.5CVE-2026-140063

Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker

Linux kernel+1
MEDIUM 5.1CVE-2026-140038

Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber

Linux kernel+1
HIGH 7.3CVE-2026-139801

KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM

Linux kernel
UNSCOREDCVE-2026-139800

9p/xen: drain response work after unbinding IRQ

Linux kernel
HIGH 7.0CVE-2026-139799

mm/shmem: hold off eviction in shmem_writeout()

Linux kernel
Sponsors