---
id: CVE-2026-97904
title: |-
  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 di…
summary: |-
  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 di…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 2fc3384dc75bf7333384c7a16d12c796f61c3f56 <
    dc11263cb05ed519758fd135fe08d611bad1f241
  - >-
    Linux >= 2fc3384dc75bf7333384c7a16d12c796f61c3f56 <
    27c9b491bf7604e83b50c3bbfa18a30266ff345f
  - >-
    Linux >= 2fc3384dc75bf7333384c7a16d12c796f61c3f56 <
    2cee937f779f69b195b37bbec1e888da9bfe9d58
  - >-
    Linux >= 2fc3384dc75bf7333384c7a16d12c796f61c3f56 <
    3e5d1bf4bd687beb2cb4e32a07af695455925588
  - Linux 4.2
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T11:17:17.293'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97904'
references:
  - url: 'https://git.kernel.org/stable/c/27c9b491bf7604e83b50c3bbfa18a30266ff345f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2cee937f779f69b195b37bbec1e888da9bfe9d58'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3e5d1bf4bd687beb2cb4e32a07af695455925588'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/dc11263cb05ed519758fd135fe08d611bad1f241'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T11:06:38.894Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
