CVE
CVE-2026-43328
CNA description
In the Linux kernel, the following vulnerability has been resolved: cpufreq: governor: fix double free in cpufreq_dbs_governor_init() error path When kobject_init_and_add() fails, cpufreq_dbs_governor_init() calls kobject_put(&dbs_data->attr_set.kobj). The kobject release callback cpufreq_dbs_data_release() calls gov->exit(dbs_data) and kfree(dbs_data), but the current error path then calls gov->exit(dbs_data) and kfree(dbs_data) again, causing a double free. Keep the direct kfree(dbs_data) for the gov->init() failure path, but after kobject_init_and_add() has been called, let kobject_put() handle the cleanup through cpufreq_dbs_data_release().
Affected versions
All Linux kernel vulnerabilities →
- 7.0-rc6This version only
- 7.0-rc5This version only
- 7.0-rc4This version only
- 7.0-rc3This version only
- 7.0-rc2This version only
- 7.0-rc1This version only
- ≥ 6.19, < 6.19.12Fixed in 6.19.12
- ≥ 6.13, < 6.18.22Fixed in 6.18.22
- ≥ 6.7, < 6.12.81Fixed in 6.12.81
- ≥ 6.2, < 6.6.134Fixed in 6.6.134
- ≥ 5.11, < 6.1.168Fixed in 6.1.168
- ≥ 5.2, < 5.10.253Fixed in 5.10.253
- 5.1.6This version only
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/019ea28629720c220daedf38107c8787f330dc05 · Patch
- git.kernel.org/stable/c/3bf9d023d2329a0e5379f2fd09d06ef09729cd9d · Patch
- git.kernel.org/stable/c/427d048e4f6acbfa01b5a8062449fe0ee8987c0d · Patch
- git.kernel.org/stable/c/56bc91ee78babe9578585a2bc137abc4b3115ff3 · Patch
- git.kernel.org/stable/c/6dcf9d0064ce2f3e3dfe5755f98b93abe6a98e1e · Patch
- git.kernel.org/stable/c/d2703b4f8fb7cc6f0dfdb2dc2359cc46189e7357 · Patch
- git.kernel.org/stable/c/da39ee627fd82b52068d4d5f115749a8b7d271f9 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.