← Back to CVE Explorer

CVE-2026-97904

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: cpufreq: initialize policy rwsem before sysfs publication cpufreq_policy_alloc() initializes policy->rwsem after kobject_init_and_add() has created the policy sysfs directory and its default attributes. A sysfs access can therefore reach a policy callback before the semaphore has been initialized. Initialize policy->rwsem before publishing the policy kobject so sysfs callbacks always see an initialized semaphore.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-25 11:17:17.293000
Last modified
2026-10-19 10:17:40.750000
View original CVE JSON
{
  "id": "CVE-2026-97904",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-25T11:17:17.293",
  "lastModified": "2026-10-19T10:17:40.750",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: initialize policy rwsem before sysfs publication\n\ncpufreq_policy_alloc() initializes policy->rwsem after\nkobject_init_and_add() has created the policy sysfs directory and its\ndefault attributes. A sysfs access can therefore reach a policy callback\nbefore the semaphore has been initialized.\n\nInitialize policy->rwsem before publishing the policy kobject so sysfs\ncallbacks always see an initialized semaphore."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/cpufreq/cpufreq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "2fc3384dc75bf7333384c7a16d12c796f61c3f56",
              "lessThan": "c9d8435814f2ac533c40fe3f35d94235bc3a9443",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fc3384dc75bf7333384c7a16d12c796f61c3f56",
              "lessThan": "82a54923700da5de83ce2b26c0b43f6b5005c8f1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fc3384dc75bf7333384c7a16d12c796f61c3f56",
              "lessThan": "b14987a0f73777644099f47f01aba3b0f9dc6c27",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fc3384dc75bf7333384c7a16d12c796f61c3f56",
              "lessThan": "b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fc3384dc75bf7333384c7a16d12c796f61c3f56",
              "lessThan": "dc11263cb05ed519758fd135fe08d611bad1f241",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fc3384dc75bf7333384c7a16d12c796f61c3f56",
              "lessThan": "27c9b491bf7604e83b50c3bbfa18a30266ff345f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fc3384dc75bf7333384c7a16d12c796f61c3f56",
              "lessThan": "2cee937f779f69b195b37bbec1e888da9bfe9d58",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fc3384dc75bf7333384c7a16d12c796f61c3f56",
              "lessThan": "3e5d1bf4bd687beb2cb4e32a07af695455925588",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/cpufreq/cpufreq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.2",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.2",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.271",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.222",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.189",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.158",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.111",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.53",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.7",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/27c9b491bf7604e83b50c3bbfa18a30266ff345f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/2cee937f779f69b195b37bbec1e888da9bfe9d58",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3e5d1bf4bd687beb2cb4e32a07af695455925588",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/82a54923700da5de83ce2b26c0b43f6b5005c8f1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b14987a0f73777644099f47f01aba3b0f9dc6c27",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c9d8435814f2ac533c40fe3f35d94235bc3a9443",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/dc11263cb05ed519758fd135fe08d611bad1f241",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}