<?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, 04 Dec 2026 19:18:25 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139542 — md: take reconfig_mutex when enabling PPL on an inactive array</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139542</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: take reconfig_mutex when enabling PPL on an inactive array&lt;/p&gt;
&lt;p&gt;consistency_policy_store() sets MD_HAS_PPL for an external-metadata array
that is not running yet, without holding reconfig_mutex.  But -&amp;gt;pers is
only assigned after pers-&amp;gt;run() returns, so &amp;#34;not running&amp;#34; also covers an
md_run() that is in progress under the lock.&lt;/p&gt;
&lt;p&gt;If the write lands inside raid5_run() after log_init() has decided not to
set up PPL, or after a failed ppl_init_log() has cleared the flag, the
flag ends up set with conf-&amp;gt;log_private still NULL.  The next idle pass
of raid5d() then does:&lt;/p&gt;
&lt;p&gt;raid5d() -&amp;gt; handle_active_stripes() -&amp;gt; log_flush_stripe_to_raid()
    -&amp;gt; ppl_write_stripe_run()&lt;/p&gt;
&lt;p&gt;and dereferences the NULL ppl_conf:&lt;/p&gt;
&lt;p&gt;Oops: general protection fault, probably for non-canonical address
  0xdffffc0000000002
  KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
  RIP: 0010:ppl_write_stripe_run+0x60/0x1320 drivers/md/raid5-ppl.c:538&lt;/p&gt;
&lt;p&gt;Take reconfig_mutex around the update and refuse it with -EBUSY once the
array is running, in which case -&amp;gt;change_consistency_policy() is the
right interface.&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: take reconfig_mutex when enabling PPL on an inactive array&lt;/p&gt;
&lt;p&gt;consistency_policy_store() sets MD_HAS_PPL for an external-metadata array
that is not running yet, without holding reconfig_mutex.  But -&amp;gt;pers is
only assigned after pers-&amp;gt;run() returns, so &amp;#34;not running&amp;#34; also covers an
md_run() that is in progress under the lock.&lt;/p&gt;
&lt;p&gt;If the write lands inside raid5_run() after log_init() has decided not to
set up PPL, or after a failed ppl_init_log() has cleared the flag, the
flag ends up set with conf-&amp;gt;log_private still NULL.  The next idle pass
of raid5d() then does:&lt;/p&gt;
&lt;p&gt;raid5d() -&amp;gt; handle_active_stripes() -&amp;gt; log_flush_stripe_to_raid()
    -&amp;gt; ppl_write_stripe_run()&lt;/p&gt;
&lt;p&gt;and dereferences the NULL ppl_conf:&lt;/p&gt;
&lt;p&gt;Oops: general protection fault, probably for non-canonical address
  0xdffffc0000000002
  KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
  RIP: 0010:ppl_write_stripe_run+0x60/0x1320 drivers/md/raid5-ppl.c:538&lt;/p&gt;
&lt;p&gt;Take reconfig_mutex around the update and refuse it with -EBUSY once the
array is running, in which case -&amp;gt;change_consistency_policy() is the
right interface.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139542</guid>
    </item>
  </channel>
</rss>
