# CVE-2026-64377: cpufreq: qcom-cpufreq-hw: Fix possible double free

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2026-07-25T08:50:28.299Z
- **Modified:** 2026-10-21T13:19:22.823Z

## Who should check

- Anyone running Linux \>= 054a3ef683a176a509cc9b37f762029aae942495, \< 0f012938f21302c08153589c1aca0283f8d6911d; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< 28a03a3f6e6cda0b0da3b43761d175dec5d14d13; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< e904961332801c87355f5d11c65bb433e717c489; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< 9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< bcb8889c4981fdde42d4fd2c29a77d510fe21da2
- Anyone running Linux 6.2

## Description

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.

## Affected and fixed versions

- Linux: \>= 054a3ef683a176a509cc9b37f762029aae942495, \< 0f012938f21302c08153589c1aca0283f8d6911d; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< 28a03a3f6e6cda0b0da3b43761d175dec5d14d13; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< e904961332801c87355f5d11c65bb433e717c489; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< 9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< bcb8889c4981fdde42d4fd2c29a77d510fe21da2 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64377. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64377.md
Affected: Linux >= 054a3ef683a176a509cc9b37f762029aae942495, < 0f012938f21302c08153589c1aca0283f8d6911d; >= 054a3ef683a176a509cc9b37f762029aae942495, < 28a03a3f6e6cda0b0da3b43761d175dec5d14d13; >= 054a3ef683a176a509cc9b37f762029aae942495, < e904961332801c87355f5d11c65bb433e717c489; >= 054a3ef683a176a509cc9b3…
Fixed in: Linux 0f012938f21302c08153589c1aca0283f8d6911d, Linux 28a03a3f6e6cda0b0da3b43761d175dec5d14d13, Linux 9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64377 being exploited?

There is no confirmed exploitation: CVE-2026-64377 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64377?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64377?

Linux \>= 054a3ef683a176a509cc9b37f762029aae942495, \< 0f012938f21302c08153589c1aca0283f8d6911d; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< 28a03a3f6e6cda0b0da3b43761d175dec5d14d13; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< e904961332801c87355f5d11c65bb433e717c489; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< 9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d; \>= 054a3ef683a176a509cc9b37f762029aae942495, \< bcb8889c4981fdde42d4fd2c29a77d510fe21da2; Linux 6.2.

### Is there a fix for CVE-2026-64377?

Yes. Fixed in Linux 0f012938f21302c08153589c1aca0283f8d6911d, Linux 28a03a3f6e6cda0b0da3b43761d175dec5d14d13, Linux 9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64377?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/28a03a3f6e6cda0b0da3b43761d175dec5d14d13>
- patch: <https://git.kernel.org/stable/c/e904961332801c87355f5d11c65bb433e717c489>
- patch: <https://git.kernel.org/stable/c/9de568ef6cdfc7912d5ea8db02843c0e4ef0c75d>
- patch: <https://git.kernel.org/stable/c/bcb8889c4981fdde42d4fd2c29a77d510fe21da2>
- other: <https://git.kernel.org/stable/c/0f012938f21302c08153589c1aca0283f8d6911d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64377>

HTML: <https://flawdb.com/CVE-2026-64377> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64377>
