CVE-2026-43328 (GCVE-0-2026-43328)
Vulnerability from cvelistv5
Published
2026-05-08 13:31
Modified
2026-06-01 16:15
Severity ?
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().
Impacted products
Vendor Product Version
Linux Linux Version: 4ebe36c94aed95de71a8ce6a6762226d31c938ee
Version: 4ebe36c94aed95de71a8ce6a6762226d31c938ee
Version: 4ebe36c94aed95de71a8ce6a6762226d31c938ee
Version: 4ebe36c94aed95de71a8ce6a6762226d31c938ee
Version: 4ebe36c94aed95de71a8ce6a6762226d31c938ee
Version: 4ebe36c94aed95de71a8ce6a6762226d31c938ee
Version: 4ebe36c94aed95de71a8ce6a6762226d31c938ee
Version: 4ebe36c94aed95de71a8ce6a6762226d31c938ee
Version: e977b1477a6725868302957e6b5c330220391797
Version: 5.1.6   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/cpufreq/cpufreq_governor.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "56bc91ee78babe9578585a2bc137abc4b3115ff3",
              "status": "affected",
              "version": "4ebe36c94aed95de71a8ce6a6762226d31c938ee",
              "versionType": "git"
            },
            {
              "lessThan": "4b9118e93d2499bb2808ef3742fa0ce06f4f8117",
              "status": "affected",
              "version": "4ebe36c94aed95de71a8ce6a6762226d31c938ee",
              "versionType": "git"
            },
            {
              "lessThan": "019ea28629720c220daedf38107c8787f330dc05",
              "status": "affected",
              "version": "4ebe36c94aed95de71a8ce6a6762226d31c938ee",
              "versionType": "git"
            },
            {
              "lessThan": "da39ee627fd82b52068d4d5f115749a8b7d271f9",
              "status": "affected",
              "version": "4ebe36c94aed95de71a8ce6a6762226d31c938ee",
              "versionType": "git"
            },
            {
              "lessThan": "427d048e4f6acbfa01b5a8062449fe0ee8987c0d",
              "status": "affected",
              "version": "4ebe36c94aed95de71a8ce6a6762226d31c938ee",
              "versionType": "git"
            },
            {
              "lessThan": "d2703b4f8fb7cc6f0dfdb2dc2359cc46189e7357",
              "status": "affected",
              "version": "4ebe36c94aed95de71a8ce6a6762226d31c938ee",
              "versionType": "git"
            },
            {
              "lessThan": "3bf9d023d2329a0e5379f2fd09d06ef09729cd9d",
              "status": "affected",
              "version": "4ebe36c94aed95de71a8ce6a6762226d31c938ee",
              "versionType": "git"
            },
            {
              "lessThan": "6dcf9d0064ce2f3e3dfe5755f98b93abe6a98e1e",
              "status": "affected",
              "version": "4ebe36c94aed95de71a8ce6a6762226d31c938ee",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "e977b1477a6725868302957e6b5c330220391797",
              "versionType": "git"
            },
            {
              "lessThan": "5.2",
              "status": "affected",
              "version": "5.1.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/cpufreq/cpufreq_governor.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.2"
            },
            {
              "lessThan": "5.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.253",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.134",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.81",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.22",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.253",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.168",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.134",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.81",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.22",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.12",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.1.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: governor: fix double free in cpufreq_dbs_governor_init() error path\n\nWhen kobject_init_and_add() fails, cpufreq_dbs_governor_init() calls\nkobject_put(\u0026dbs_data-\u003eattr_set.kobj).\n\nThe kobject release callback cpufreq_dbs_data_release() calls\ngov-\u003eexit(dbs_data) and kfree(dbs_data), but the current error path\nthen calls gov-\u003eexit(dbs_data) and kfree(dbs_data) again, causing a\ndouble free.\n\nKeep the direct kfree(dbs_data) for the gov-\u003einit() failure path, but\nafter kobject_init_and_add() has been called, let kobject_put() handle\nthe cleanup through cpufreq_dbs_data_release()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-01T16:15:39.421Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/56bc91ee78babe9578585a2bc137abc4b3115ff3"
        },
        {
          "url": "https://git.kernel.org/stable/c/4b9118e93d2499bb2808ef3742fa0ce06f4f8117"
        },
        {
          "url": "https://git.kernel.org/stable/c/019ea28629720c220daedf38107c8787f330dc05"
        },
        {
          "url": "https://git.kernel.org/stable/c/da39ee627fd82b52068d4d5f115749a8b7d271f9"
        },
        {
          "url": "https://git.kernel.org/stable/c/427d048e4f6acbfa01b5a8062449fe0ee8987c0d"
        },
        {
          "url": "https://git.kernel.org/stable/c/d2703b4f8fb7cc6f0dfdb2dc2359cc46189e7357"
        },
        {
          "url": "https://git.kernel.org/stable/c/3bf9d023d2329a0e5379f2fd09d06ef09729cd9d"
        },
        {
          "url": "https://git.kernel.org/stable/c/6dcf9d0064ce2f3e3dfe5755f98b93abe6a98e1e"
        }
      ],
      "title": "cpufreq: governor: fix double free in cpufreq_dbs_governor_init() error path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43328",
    "datePublished": "2026-05-08T13:31:16.787Z",
    "dateReserved": "2026-05-01T14:12:56.002Z",
    "dateUpdated": "2026-06-01T16:15:39.421Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…