{"id":"CVE-2026-139697","aliases":["CVE-2026-139697"],"related":[],"kind":"vulnerability","state":"published","title":"ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument\n\nAn ACPI device object's dev field in passed as the first argument to\ndevm_kcalloc() in acpi_fan_get_fps() which is incorrect and leads to\na memory leak on driver probe errors and removal because the driver\nis not bound to that ACPI device.\n\nAddress this by replacing that pointer with a pointer to the device the\ndriver is actually bound to.\n\nWhile at it, drop a redundant error message after a memory allocation\nfailure (that also gets printed relative to the ACPI device).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument\n\nAn ACPI device object's dev field in passed as the first argument to\ndevm_kcalloc() in acpi_fan_get_fps() which is incorrect and leads to\na memory leak on driver probe errors and removal because the driver\nis not bound to that ACPI device.\n\nAddress this by replacing that pointer with a pointer to the device the\ndriver is actually bound to.\n\nWhile at it, drop a redundant error message after a memory allocation\nfailure (that also gets printed relative to the ACPI device).","source":"cvelist"}],"published":"2026-11-30T13:37:08.496Z","modified":"2026-11-30T14:19:59.477Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"094932903f6d1ecc6df7669c052f9c59a3428a79","fixed":"8160811079129f96290caa354eda0e7649305414","status":"affected"},{"type":"git","introduced":"d91a1d129b63614fa4c2e45e60918409ce36db7e","fixed":"615db7a9c7130aefd9f09eaa63f27cd78a33f9ad","status":"affected"},{"type":"git","introduced":"d91a1d129b63614fa4c2e45e60918409ce36db7e","fixed":"755c4d87215134d00d66355ab1f36c4c53c629e4","status":"affected"},{"type":"git","introduced":"d91a1d129b63614fa4c2e45e60918409ce36db7e","fixed":"2cf65d00347005eccf9a24801783377d7f920021","status":"affected"},{"type":"git","version":"1cf52204e78526cd1a2b49892c4e312735c7273b","status":"affected"},{"type":"semver","introduced":"6.12.58","fixed":"6.12.119","status":"affected"},{"type":"semver","introduced":"6.17.8","fixed":"6.18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8160811079129f96290caa354eda0e7649305414","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/615db7a9c7130aefd9f09eaa63f27cd78a33f9ad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/755c4d87215134d00d66355ab1f36c4c53c629e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cf65d00347005eccf9a24801783377d7f920021","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139697","url":"https://www.cve.org/CVERecord?id=CVE-2026-139697","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:08.496Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139697","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139697","licence":"Public domain","modified":"2026-11-30T14:19:59.477Z"}],"updatedAt":"2026-11-30T14:33:30.690Z","epss":{"score":0.002,"percentile":0.10335,"date":"2026-12-01T12:00:22.000Z"}}