CVE-2026-139697

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

No CVSS score yet EPSS 0.20%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-139697

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139697 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 094932903f6d1ecc6df7669c052f9c59a3428a79, before 8160811079129f96290caa354eda0e7649305414
affected from d91a1d129b63614fa4c2e45e60918409ce36db7e, before 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad
affected from d91a1d129b63614fa4c2e45e60918409ce36db7e, before 755c4d87215134d00d66355ab1f36c4c53c629e4
affected from d91a1d129b63614fa4c2e45e60918409ce36db7e, before 2cf65d00347005eccf9a24801783377d7f920021
affected 1cf52204e78526cd1a2b49892c4e312735c7273b
affected from 6.12.58, before 6.12.119
affected from 6.17.8, before 6.18
Other versions: unaffected
Linux
affected 6.18
unaffected before 6.18
unaffected from 6.12.119 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.6 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139697 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139697

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139697
trivy image --scanners vuln IMAGE | grep CVE-2026-139697

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139697 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.