<?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>Sat, 05 Dec 2026 12:36:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142866 — md/raid5: fix NULL pointer dereference in raid5_free_percpu</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142866</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;md/raid5: fix NULL pointer dereference in raid5_free_percpu&lt;/p&gt;
&lt;p&gt;If cpuhp_state_add_instance() fails in raid5_alloc_percpu() (e.g., the
startup callback raid456_cpu_up_prepare fails due to an allocation
failure), conf-&amp;gt;node is never added to the cpuhp instance list and
its pprev remains NULL (from kzalloc initialization).&lt;/p&gt;
&lt;p&gt;When setup_conf() then jumps to abort, free_conf() calls
raid5_free_percpu(), which checks conf-&amp;gt;percpu (non-NULL, since it was
allocated before the cpuhp failure) and proceeds to call
cpuhp_state_remove_instance().  This calls hlist_del() on the unhashed
node, which dereferences node-&amp;gt;pprev (NULL), causing a kernel panic.&lt;/p&gt;
&lt;p&gt;Guard the removal with hlist_unhashed_lockless() so that the cpuhp
instance is only removed if it was actually added.  The lockless variant
uses READ_ONCE() for the pprev read, which is safe here because the
actual removal is synchronized by cpuhp_state_mutex inside
cpuhp_state_remove_instance().&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;md/raid5: fix NULL pointer dereference in raid5_free_percpu&lt;/p&gt;
&lt;p&gt;If cpuhp_state_add_instance() fails in raid5_alloc_percpu() (e.g., the
startup callback raid456_cpu_up_prepare fails due to an allocation
failure), conf-&amp;gt;node is never added to the cpuhp instance list and
its pprev remains NULL (from kzalloc initialization).&lt;/p&gt;
&lt;p&gt;When setup_conf() then jumps to abort, free_conf() calls
raid5_free_percpu(), which checks conf-&amp;gt;percpu (non-NULL, since it was
allocated before the cpuhp failure) and proceeds to call
cpuhp_state_remove_instance().  This calls hlist_del() on the unhashed
node, which dereferences node-&amp;gt;pprev (NULL), causing a kernel panic.&lt;/p&gt;
&lt;p&gt;Guard the removal with hlist_unhashed_lockless() so that the cpuhp
instance is only removed if it was actually added.  The lockless variant
uses READ_ONCE() for the pprev read, which is safe here because the
actual removal is synchronized by cpuhp_state_mutex inside
cpuhp_state_remove_instance().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142866</guid>
    </item>
  </channel>
</rss>
