<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 20 Nov 2026 21:23:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99716 — hwmon: (coretemp) Set nr_cores only after core_data allocation succeeds</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99716</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;hwmon: (coretemp) Set nr_cores only after core_data allocation succeeds&lt;/p&gt;
&lt;p&gt;In init_temp_data(), pdata-&amp;gt;nr_cores is populated from
topology_num_cores_per_package() before allocating pdata-&amp;gt;core_data. If
that allocation fails, init_temp_data() returns NULL with
pdata-&amp;gt;core_data still NULL and pdata-&amp;gt;nr_cores set to a positive value.&lt;/p&gt;
&lt;p&gt;coretemp_add_core() logs the error without failing coretemp_cpu_online(),
so the CPU still comes online with pdata-&amp;gt;hwmon_dev registered. When the
CPU is later taken offline (or the module is unloaded),
coretemp_cpu_offline() calls get_temp_data(pd, cpu), which loops up to
pdata-&amp;gt;nr_cores and dereferences the NULL pdata-&amp;gt;core_data pointer.&lt;/p&gt;
&lt;p&gt;Store the core count in a local variable and assign pdata-&amp;gt;nr_cores only
after pdata-&amp;gt;core_data is allocated, preserving the invariant that
pdata-&amp;gt;nr_cores is zero whenever pdata-&amp;gt;core_data is NULL.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;hwmon: (coretemp) Set nr_cores only after core_data allocation succeeds&lt;/p&gt;
&lt;p&gt;In init_temp_data(), pdata-&amp;gt;nr_cores is populated from
topology_num_cores_per_package() before allocating pdata-&amp;gt;core_data. If
that allocation fails, init_temp_data() returns NULL with
pdata-&amp;gt;core_data still NULL and pdata-&amp;gt;nr_cores set to a positive value.&lt;/p&gt;
&lt;p&gt;coretemp_add_core() logs the error without failing coretemp_cpu_online(),
so the CPU still comes online with pdata-&amp;gt;hwmon_dev registered. When the
CPU is later taken offline (or the module is unloaded),
coretemp_cpu_offline() calls get_temp_data(pd, cpu), which loops up to
pdata-&amp;gt;nr_cores and dereferences the NULL pdata-&amp;gt;core_data pointer.&lt;/p&gt;
&lt;p&gt;Store the core count in a local variable and assign pdata-&amp;gt;nr_cores only
after pdata-&amp;gt;core_data is allocated, preserving the invariant that
pdata-&amp;gt;nr_cores is zero whenever pdata-&amp;gt;core_data is NULL.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99716</guid>
    </item>
  </channel>
</rss>
