1. Home
  2. Vulnerabilities
  3. CVE-2026-43328

CVE-2026-43328

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

Published 8 May 2026 · modified 11 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 32/100

Summary

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 products and versions

Linux (10 line(s))
Linux
ProductVersionsFixed inSource
Linux from 5.1.6 (included) to 5.2 (excluded) — CNA (vendor or assigner)
Linux 5.2 — CNA (vendor or assigner)
Linux kernel from 5.2 (included) to 5.10.253 (excluded) — NVD
Linux kernel from 5.11 (included) to 6.1.168 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.134 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.12.81 (excluded) — NVD
Linux kernel from 6.13 (included) to 6.18.22 (excluded) — NVD
Linux kernel from 6.19 (included) to 6.19.12 (excluded) — NVD
Linux kernel 5.1.6 — NVD
Linux kernel 7.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-415 · Corruption mémoire

How this data is obtained and calculated