CVE-2026-64377: cpufreq: qcom-cpufreq-hw: Fix possible double free
High 7.8 EPSS 0.1% Linux kernel
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.
- CVE-2026-64377CVE identifier
- 7.8CVSS 3.1 base score (high)
- 0.1%EPSS: chance of exploitation in the next 30 days (higher than 3% of CVEs)
- 2026-07-25published
What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms
What to do now
- Check whether you run Linux kernel and which version (commands below).
- Install the fixed version for your system: see “Patch it” below.
- Reboot into the new kernel (uname -r to confirm); live patching (kpatch, Ubuntu Livepatch, SUSE kGraft/klp) can defer the reboot for some CVEs
Affected and fixed versions
Affected:
- Linux Linux 054a3ef683a176a509cc9b37f762029aae942495 to before 0f012938f21302c08153589c1aca0283f8d6911d
- Linux Linux 054a3ef683a176a509cc9b37f762029aae942495 to before 28a03a3f6e6cda0b0da3b43761d175dec5d14d13
- Linux Linux 054a3ef683a176a509cc9b37f762029aae942495 to before e904961332801c87355f5d11c65bb433e717c489
- Linux Linux 054a3ef683a176a509cc9b37f762029aae942495 to before 9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d
- Linux Linux 054a3ef683a176a509cc9b37f762029aae942495 to before bcb8889c4981fdde42d4fd2c29a77d510fe21da2
- Linux Linux 6.2
Patch it
Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.
Debian
sudo apt update
sudo apt install --only-upgrade linux-image-amd64Ubuntu
sudo apt update
sudo apt install --only-upgrade linux-image-generic (or the installed flavour: linux-image-aws, -azure, -gcp, -virtual)RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade --refresh kernelFedora
sudo dnf upgrade --refresh kernelSUSE / openSUSE
sudo zypper refresh
sudo zypper update kernel-defaultAmazon Linux
sudo dnf upgrade --releasever=latest kernel kernel6.12Arch Linux
sudo pacman -SyuAlpine
apk update && apk upgrade linux-lts linux-virtFreeBSD
not LinuxGeneral update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.
Fix status in Linux distributions
| Release | Package | Status | Fixed version / advisory |
|---|---|---|---|
| Debian 12 | linux | not affected | |
| Debian 13 | linux | fixed | 6.12.96-1 |
| Debian testing | linux | fixed | 7.1.4-1 |
| Debian 12 | linux-6.12 | fixed | 6.12.100-1~deb12u1 |
| Red Hat Enterprise Linux 10 | kernel | affected | |
From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.
Sources
- https://git.kernel.org/stable/c/0f012938f21302c08153589c1aca0283f8d6911d
- https://git.kernel.org/stable/c/28a03a3f6e6cda0b0da3b43761d175dec5d14d13
- https://git.kernel.org/stable/c/e904961332801c87355f5d11c65bb433e717c489
- https://git.kernel.org/stable/c/9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d
- https://git.kernel.org/stable/c/bcb8889c4981fdde42d4fd2c29a77d510fe21da2
- CVE-2026-64377 on CVE.org
- CVE-2026-64377 on NVD
Page generated automatically from official sources on 2026-11-03 18:05 UTC. Always confirm with your vendor's advisory.