<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:18:31.633648+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-139542</id>
    <title>CVE-2026-139542 — md: take reconfig_mutex when enabling PPL on an inactive array</title>
    <updated>2026-12-04T19:18:31.635284+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>md: take reconfig_mutex when enabling PPL on an inactive array</p>
<p>consistency_policy_store() sets MD_HAS_PPL for an external-metadata array
that is not running yet, without holding reconfig_mutex.  But -&gt;pers is
only assigned after pers-&gt;run() returns, so "not running" also covers an
md_run() that is in progress under the lock.</p>
<p>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-&gt;log_private still NULL.  The next idle pass
of raid5d() then does:</p>
<p>raid5d() -&gt; handle_active_stripes() -&gt; log_flush_stripe_to_raid()
    -&gt; ppl_write_stripe_run()</p>
<p>and dereferences the NULL ppl_conf:</p>
<p>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</p>
<p>Take reconfig_mutex around the update and refuse it with -EBUSY once the
array is running, in which case -&gt;change_consistency_policy() is the
right interface.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139542"/>
  </entry>
</feed>
