CVE-2026-43328

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

HIGH
7.8
CVSS Score
Published: May 8, 2026 at 01:31 PM UTC
Updated: June 17, 2026 at 10:49 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.1.65.1.6 ≤ v < 5.25.11 ≤ v < 6.1.1685.2 ≤ v < 5.10.2535.2 ≤ v < 5.15.2095.2 ≤ v < 6.1.1685.2 ≤ v < 6.12.815.2 ≤ v < 6.18.225.2 ≤ v < 6.19.125.2 ≤ v < 6.6.1345.2 ≤ v < 7.06.13 ≤ v < 6.18.226.19 ≤ v < 6.19.126.2 ≤ v < 6.6.1346.7 ≤ v < 6.12.814ebe36c94aed95de71a8ce6a6762226d31c938ee5.1.67.0 rc17.0 rc27.0 rc37.0 rc47.0 rc57.0 rc6e977b1477a6725868302957e6b5c330220391797
Vendor states this is fixed in 019ea28629720c220daedf38107c8787f330dc05 (fixed)
Vendor states this is fixed in 3bf9d023d2329a0e5379f2fd09d06ef09729cd9d (fixed)
Vendor states this is fixed in 427d048e4f6acbfa01b5a8062449fe0ee8987c0d (fixed)
Vendor states this is fixed in 4b9118e93d2499bb2808ef3742fa0ce06f4f8117 (fixed)
Vendor states this is fixed in 56bc91ee78babe9578585a2bc137abc4b3115ff3 (fixed)
Vendor states this is fixed in 6dcf9d0064ce2f3e3dfe5755f98b93abe6a98e1e (fixed)
Vendor states this is fixed in d2703b4f8fb7cc6f0dfdb2dc2359cc46189e7357 (fixed)
Vendor states this is fixed in da39ee627fd82b52068d4d5f115749a8b7d271f9 (fixed)
Vendor states this is fixed in 5.10.253 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 6.1.168 (unaffected)
Vendor states this is fixed in 6.12.81 (unaffected)
Vendor states this is fixed in 6.18.22 (unaffected)
Vendor states this is fixed in 6.19.12 (unaffected)
Vendor states this is fixed in 6.6.134 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card