<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T09:32:48.547335+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-97905</id>
    <title>CVE-2026-97905 — cpufreq: zero-initialize policy cpumask before sysfs publication</title>
    <updated>2026-09-29T09:32:48.549475+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>cpufreq: zero-initialize policy cpumask before sysfs publication</p>
<p>cpufreq_policy_alloc() allocates policy-&gt;cpus with alloc_cpumask_var(),
i.e. without __GFP_ZERO, unlike the sibling related_cpus and real_cpus
masks. With CONFIG_CPUMASK_OFFSTACK=y the mask is a separate
kmalloc_node() allocation, so its bitmap holds whatever the slab allocator
left behind:</p>
<p>cpufreq_online()
    cpufreq_policy_alloc()
      alloc_cpumask_var(&amp;policy-&gt;cpus)    /* bitmap is uninitialized */
      kobject_init_and_add()              /* policy%u/ appears in sysfs */
    cpufreq_policy_online()
      cpumask_copy(policy-&gt;cpus, cpumask_of(cpu))  /* first valid value */</p>
<p>This leaves a window in which the sysfs attributes are already reachable
while policy-&gt;cpus is still garbage. show()/store() gate on
policy_is_inactive(), i.e. cpumask_empty(policy-&gt;cpus), so a non-zero
bitmap makes them run the attribute callbacks on a policy that is not
initialized yet.</p>
<p>Fix this by using zalloc_cpumask_var() for policy-&gt;cpus.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-97905"/>
  </entry>
</feed>
