{
  "id": "CVE-2026-64377",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64377",
  "published_at": "2026-07-25T08:50:28.299Z",
  "title": "cpufreq: qcom-cpufreq-hw: Fix possible double free",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: qcom-cpufreq-hw: Fix possible double free\n\nqcom_cpufreq.data is allocated with devm_kzalloc() in probe() as an\narray of per-domain data. qcom_cpufreq_hw_cpu_init() stores a pointer to\none element of this array in policy-\u003edriver_data.\n\nqcom_cpufreq_hw_cpu_exit() currently calls kfree() on policy-\u003edriver_data.\nThis is not valid because the memory is devm-managed. For the first\ndomain, this can free the devm-managed allocation while the devres entry\nis still active, leading to a possible double free when the platform\ndevice is later detached. For other domains, the pointer may refer to an\nelement inside the array rather than the allocation base.\n\nRemove the kfree(data) call and let devres release qcom_cpufreq.data.\n\nThis issue was found by a static analysis tool I am developing.",
  "cwe": "CWE-415",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 054a3ef683a176a509cc9b37f762029aae942495, \u003c 0f012938f21302c08153589c1aca0283f8d6911d",
          "\u003e= 054a3ef683a176a509cc9b37f762029aae942495, \u003c 28a03a3f6e6cda0b0da3b43761d175dec5d14d13",
          "\u003e= 054a3ef683a176a509cc9b37f762029aae942495, \u003c e904961332801c87355f5d11c65bb433e717c489",
          "\u003e= 054a3ef683a176a509cc9b37f762029aae942495, \u003c 9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d",
          "\u003e= 054a3ef683a176a509cc9b37f762029aae942495, \u003c bcb8889c4981fdde42d4fd2c29a77d510fe21da2"
        ],
        "fixed_in": [
          "0f012938f21302c08153589c1aca0283f8d6911d",
          "28a03a3f6e6cda0b0da3b43761d175dec5d14d13",
          "e904961332801c87355f5d11c65bb433e717c489",
          "9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d",
          "bcb8889c4981fdde42d4fd2c29a77d510fe21da2"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.2"
        ],
        "fixed_in": [
          "0",
          "6.6.160",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 0f012938f21302c08153589c1aca0283f8d6911d or 28a03a3f6e6cda0b0da3b43761d175dec5d14d13 or e904961332801c87355f5d11c65bb433e717c489 or 9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d or bcb8889c4981fdde42d4fd2c29a77d510fe21da2 or later.",
      "Upgrade Linux to 0 or 6.6.160 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
