CVE-2026-64377CWE-415

CVE-2026-64377

High · published July 25, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
2.3
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: qcom-cpufreq-hw: Fix possible double free

qcom_cpufreq.data is allocated with devm_kzalloc() in probe() as an

array of per-domain data. qcom_cpufreq_hw_cpu_init() stores a pointer to

one element of this array in policy->driver_data.

qcom_cpufreq_hw_cpu_exit() currently calls kfree() on policy->driver_data.

This is not valid because the memory is devm-managed. For the first

domain, this can free the devm-managed allocation while the devres entry

is still active, leading to a possible double free when the platform

device is later detached. For other domains, the pointer may refer to an

element inside the array rather than the allocation base.

Remove the kfree(data) call and let devres release qcom_cpufreq.data.

This issue was found by a static analysis tool I am developing.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00129 · 2.3th percentile
Weakness
CWE-415 · Double Free
Published
2026-07-25T14:17Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.2, < 6.12.966.12.96
linux/linux_kernel≥ 6.13, < 6.18.396.18.39
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
References (5)
EPSS history
Timeline
  • 25 JUL 08:50Z
    cpufreq: qcom-cpufreq-hw: Fix possible double free
    cvelistv5