{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "094932903f6d1ecc6df7669c052f9c59a3428a79"
            },
            {
              "fixed": "8160811079129f96290caa354eda0e7649305414"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "d91a1d129b63614fa4c2e45e60918409ce36db7e"
            },
            {
              "fixed": "615db7a9c7130aefd9f09eaa63f27cd78a33f9ad"
            },
            {
              "fixed": "755c4d87215134d00d66355ab1f36c4c53c629e4"
            },
            {
              "fixed": "2cf65d00347005eccf9a24801783377d7f920021"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "1cf52204e78526cd1a2b49892c4e312735c7273b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139697.json"
  },
  "details": "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).",
  "id": "CVE-2026-139697",
  "modified": "2026-12-01T20:46:04.656741131Z",
  "published": "2026-11-30T13:37:08.496Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2cf65d00347005eccf9a24801783377d7f920021"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/615db7a9c7130aefd9f09eaa63f27cd78a33f9ad"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/755c4d87215134d00d66355ab1f36c4c53c629e4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8160811079129f96290caa354eda0e7649305414"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139697.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139697"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ACPI: fan: Fix memory leak due to leftover devm_kcalloc() argument"
}