<?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:16:40 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139006 — md/raid5: track disks array size to fix extra_page leak on error paths</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139006</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: track disks array size to fix extra_page leak on error paths&lt;/p&gt;
&lt;p&gt;free_conf() iterates conf-&amp;gt;pool_size entries to free extra_page
allocations, but pool_size may not reflect the actual size of the
conf-&amp;gt;disks array.  Two scenarios cause a mismatch:&lt;/p&gt;
&lt;p&gt;1. setup_conf() early abort: pool_size is 0 (not yet set by
   grow_stripes) but conf-&amp;gt;disks has max_disks entries with
   extra_page allocated.  The loop iterates 0 times, leaking all
   pages.&lt;/p&gt;
&lt;p&gt;2. resize_stripes() Step 4 failure: conf-&amp;gt;disks was replaced with
   a newsize-entry array in Step 3, but pool_size is only updated
   on success.  The loop iterates pool_size (old, smaller value)
   times, leaking (newsize - pool_size) pages.&lt;/p&gt;
&lt;p&gt;Add a dedicated disks_cnt field to track the actual number of
entries in conf-&amp;gt;disks.  Set it immediately after each allocation
or replacement (in setup_conf and resize_stripes Step 3, where the
array is safely stalled with no concurrent access), and use it in
free_conf() instead of pool_size.&lt;/p&gt;
&lt;p&gt;This leaves pool_size untouched, preserving the check_reshape()
retry behavior that depends on pool_size only being updated on
full success.&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: track disks array size to fix extra_page leak on error paths&lt;/p&gt;
&lt;p&gt;free_conf() iterates conf-&amp;gt;pool_size entries to free extra_page
allocations, but pool_size may not reflect the actual size of the
conf-&amp;gt;disks array.  Two scenarios cause a mismatch:&lt;/p&gt;
&lt;p&gt;1. setup_conf() early abort: pool_size is 0 (not yet set by
   grow_stripes) but conf-&amp;gt;disks has max_disks entries with
   extra_page allocated.  The loop iterates 0 times, leaking all
   pages.&lt;/p&gt;
&lt;p&gt;2. resize_stripes() Step 4 failure: conf-&amp;gt;disks was replaced with
   a newsize-entry array in Step 3, but pool_size is only updated
   on success.  The loop iterates pool_size (old, smaller value)
   times, leaking (newsize - pool_size) pages.&lt;/p&gt;
&lt;p&gt;Add a dedicated disks_cnt field to track the actual number of
entries in conf-&amp;gt;disks.  Set it immediately after each allocation
or replacement (in setup_conf and resize_stripes Step 3, where the
array is safely stalled with no concurrent access), and use it in
free_conf() instead of pool_size.&lt;/p&gt;
&lt;p&gt;This leaves pool_size untouched, preserving the check_reshape()
retry behavior that depends on pool_size only being updated on
full success.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139006</guid>
    </item>
  </channel>
</rss>
