CVE-2026-43328
HIGHcpufreq: governor: fix double free in cpufreq_dbs_governor_init() error path
Title source: cnaDescription
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().
References (8)
Core 8
Core References
Scores
CVSS v3
7.8
EPSS
0.0013
EPSS Percentile
2.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-415
Status
published
Products (30)
linux/Kernel
5.11.0 - 5.15.209linux
linux/Kernel
5.16.0 - 6.1.168linux
linux/Kernel
5.2.0 - 5.10.253linux
linux/Kernel
6.13.0 - 6.18.22linux
linux/Kernel
6.19.0 - 6.19.12linux
linux/Kernel
6.2.0 - 6.6.134linux
linux/Kernel
6.7.0 - 6.12.81linux
Linux/Linux
< 5.2
Linux/Linux
4ebe36c94aed95de71a8ce6a6762226d31c938ee - 019ea28629720c220daedf38107c8787f330dc05
Linux/Linux
4ebe36c94aed95de71a8ce6a6762226d31c938ee - 3bf9d023d2329a0e5379f2fd09d06ef09729cd9d
... and 20 more
Published
May 08, 2026
Tracked Since
May 08, 2026