CVE-2026-139697

Source
https://cve.org/CVERecord?id=CVE-2026-139697
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139697.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139697
Downstream
Published
2026-11-30T13:37:08Z
Modified
2026-11-30T15:02:30Z
Summary
ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument
Details

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139697.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
094932903f6d1ecc6df7669c052f9c59a3428a79
Fixed
8160811079129f96290caa354eda0e7649305414
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d91a1d129b63614fa4c2e45e60918409ce36db7e
Fixed
615db7a9c7130aefd9f09eaa63f27cd78a33f9ad
Fixed
755c4d87215134d00d66355ab1f36c4c53c629e4
Fixed
2cf65d00347005eccf9a24801783377d7f920021
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1cf52204e78526cd1a2b49892c4e312735c7273b

Affected versions

v6.*
v6.12.100
v6.12.101
v6.12.102
v6.12.103
v6.12.104
v6.12.105
v6.12.106
v6.12.107
v6.12.108
v6.12.109
v6.12.110
v6.12.111
v6.12.112
v6.12.113
v6.12.114
v6.12.115
v6.12.116
v6.12.117
v6.12.118
v6.12.58
v6.12.59
v6.12.60
v6.12.61
v6.12.62
v6.12.63
v6.12.64
v6.12.65
v6.12.66
v6.12.67
v6.12.68
v6.12.69
v6.12.70
v6.12.71
v6.12.72
v6.12.73
v6.12.74
v6.12.75
v6.12.76
v6.12.77
v6.12.78
v6.12.79
v6.12.80
v6.12.81
v6.12.82
v6.12.83
v6.12.84
v6.12.85
v6.12.86
v6.12.87
v6.12.88
v6.12.89
v6.12.90
v6.12.91
v6.12.92
v6.12.93
v6.12.94
v6.12.95
v6.12.96
v6.12.97
v6.12.98
v6.12.99
v6.17.10
v6.17.11
v6.17.12
v6.17.13
v6.17.8
v6.17.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139697.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.58
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.17.8
Fixed
6.18
Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139697.json"