cpufreq: governor: fix double free in cpufreq_dbs_governor_init() error path

Summary

CVECVE-2026-43328
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-08 14:16:42 UTC
Updated2026-05-12 14:10:27 UTC
DescriptionIn 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().

Risk And Classification

EPSS: 0.000240000 probability, percentile 0.070360000 (date 2026-05-12)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 4ebe36c94aed95de71a8ce6a6762226d31c938ee 56bc91ee78babe9578585a2bc137abc4b3115ff3 git Not specified
CNA Linux Linux affected 4ebe36c94aed95de71a8ce6a6762226d31c938ee 019ea28629720c220daedf38107c8787f330dc05 git Not specified
CNA Linux Linux affected 4ebe36c94aed95de71a8ce6a6762226d31c938ee da39ee627fd82b52068d4d5f115749a8b7d271f9 git Not specified
CNA Linux Linux affected 4ebe36c94aed95de71a8ce6a6762226d31c938ee 427d048e4f6acbfa01b5a8062449fe0ee8987c0d git Not specified
CNA Linux Linux affected 4ebe36c94aed95de71a8ce6a6762226d31c938ee d2703b4f8fb7cc6f0dfdb2dc2359cc46189e7357 git Not specified
CNA Linux Linux affected 4ebe36c94aed95de71a8ce6a6762226d31c938ee 3bf9d023d2329a0e5379f2fd09d06ef09729cd9d git Not specified
CNA Linux Linux affected 4ebe36c94aed95de71a8ce6a6762226d31c938ee 6dcf9d0064ce2f3e3dfe5755f98b93abe6a98e1e git Not specified
CNA Linux Linux affected e977b1477a6725868302957e6b5c330220391797 git Not specified
CNA Linux Linux affected 5.2 Not specified
CNA Linux Linux unaffected 5.2 semver Not specified
CNA Linux Linux unaffected 5.10.253 5.10.* semver Not specified
CNA Linux Linux unaffected 6.1.168 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.134 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.81 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.22 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.12 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/427d048e4f6acbfa01b5a8062449fe0ee8987c0d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d2703b4f8fb7cc6f0dfdb2dc2359cc46189e7357 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/56bc91ee78babe9578585a2bc137abc4b3115ff3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6dcf9d0064ce2f3e3dfe5755f98b93abe6a98e1e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/019ea28629720c220daedf38107c8787f330dc05 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/da39ee627fd82b52068d4d5f115749a8b7d271f9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3bf9d023d2329a0e5379f2fd09d06ef09729cd9d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report