In the Linux kernel, the following vulnerability has been resolved: cpufreq: qcom-cpufreq-hw: Fix possible double free qcom_cpufreq.data is… (CVE-2026-64377)
A vulnerability in the Linux kernel's Qualcomm CPU frequency driver (qcom-cpufreq-hw) involves a possible double free of memory managed by the device resource management system. The issue arises because the driver incorrectly calls kfree() on a pointer to devm-managed memory, which can lead to a double free when the platform device is detached. The fix involves removing the improper kfree() call and relying on devres to release the memory properly.
AI Analysis
Technical Summary
The Linux kernel's qcom-cpufreq-hw driver allocates per-domain data using devm_kzalloc(), which is managed by the device resource management system (devres). The function qcom_cpufreq_hw_cpu_init() stores a pointer to an element of this array in policy->driver_data. However, qcom_cpufreq_hw_cpu_exit() incorrectly calls kfree() on this pointer, which is invalid because the memory is devm-managed. For the first domain, this can cause a double free when the platform device is detached, as devres will also attempt to free the memory. For other domains, the pointer may not be the base allocation, making the free operation unsafe. The resolution is to remove the kfree() call and let devres handle memory release, preventing double free errors.
Potential Impact
The vulnerability can cause a double free of kernel memory, which may lead to kernel instability or crashes. There is no indication of known exploits in the wild. The impact is limited to potential memory corruption and system reliability issues in affected Linux kernel versions using the qcom-cpufreq-hw driver.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves removing the kfree() call from qcom_cpufreq_hw_cpu_exit() to avoid double freeing devm-managed memory. Users should monitor official Linux kernel updates and apply patches when available.
In the Linux kernel, the following vulnerability has been resolved: cpufreq: qcom-cpufreq-hw: Fix possible double free qcom_cpufreq.data is… (CVE-2026-64377)
Description
A vulnerability in the Linux kernel's Qualcomm CPU frequency driver (qcom-cpufreq-hw) involves a possible double free of memory managed by the device resource management system. The issue arises because the driver incorrectly calls kfree() on a pointer to devm-managed memory, which can lead to a double free when the platform device is detached. The fix involves removing the improper kfree() call and relying on devres to release the memory properly.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's qcom-cpufreq-hw driver allocates per-domain data using devm_kzalloc(), which is managed by the device resource management system (devres). The function qcom_cpufreq_hw_cpu_init() stores a pointer to an element of this array in policy->driver_data. However, qcom_cpufreq_hw_cpu_exit() incorrectly calls kfree() on this pointer, which is invalid because the memory is devm-managed. For the first domain, this can cause a double free when the platform device is detached, as devres will also attempt to free the memory. For other domains, the pointer may not be the base allocation, making the free operation unsafe. The resolution is to remove the kfree() call and let devres handle memory release, preventing double free errors.
Potential Impact
The vulnerability can cause a double free of kernel memory, which may lead to kernel instability or crashes. There is no indication of known exploits in the wild. The impact is limited to potential memory corruption and system reliability issues in affected Linux kernel versions using the qcom-cpufreq-hw driver.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The fix involves removing the kfree() call from qcom_cpufreq_hw_cpu_exit() to avoid double freeing devm-managed memory. Users should monitor official Linux kernel updates and apply patches when available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9gw4-rc8j-j633
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64377"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420b9c2644c7f8084a38
Added to database: 07/25/2026, 23:08:59 UTC
Last enriched: 07/25/2026, 23:29:38 UTC
Last updated: 07/26/2026, 05:19:57 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.