CVE-2026-139697
publishedACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux094932903f6d1ecc6df7669c052f9c59a3428a79 to < 8160811079129f96290caa354eda0e7649305414 · d91a1d129b63614fa4c2e45e60918409ce36db7e to < 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad · d91a1d129b63614fa4c2e45e60918409ce36db7e to < 755c4d87215134d00d66355ab1f36c4c53c629e4 · d91a1d129b63614fa4c2e45e60918409ce36db7e to < 2cf65d00347005eccf9a24801783377d7f920021 · 1cf52204e78526cd1a2b49892c4e312735c7273b · 6.12.58 to < 6.12.119 · 6.17.8 to < 6.18 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 094932903f6d1ecc6df7669c052f9c59a3428a79 to < 8160811079129f96290caa354eda0e7649305414 (affected · git)d91a1d129b63614fa4c2e45e60918409ce36db7e to < 615db7a9c7130aefd9f09eaa63f27cd78a33f9ad (affected · git)d91a1d129b63614fa4c2e45e60918409ce36db7e to < 755c4d87215134d00d66355ab1f36c4c53c629e4 (affected · git)d91a1d129b63614fa4c2e45e60918409ce36db7e to < 2cf65d00347005eccf9a24801783377d7f920021 (affected · git)1cf52204e78526cd1a2b49892c4e312735c7273b (affected · git)6.12.58 to < 6.12.119 (affected · semver)6.17.8 to < 6.18 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 856e840996e9f265af432f65616f30dec8d0a0ee8f2935487e0c49a15b31dad3
- Ingested
- 30 Nov 2026, 13:43:49 UTC
- Source record
- Official CVE record