<?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://vulnerability.circl.lu</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>Tue, 06 Oct 2026 00:14:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26758 — md: Don't ignore suspended array in md_check_recovery()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-26758</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: Don&amp;#39;t ignore suspended array in md_check_recovery()&lt;/p&gt;
&lt;p&gt;mddev_suspend() never stop sync_thread, hence it doesn&amp;#39;t make sense to
ignore suspended array in md_check_recovery(), which might cause
sync_thread can&amp;#39;t be unregistered.&lt;/p&gt;
&lt;p&gt;After commit f52f5c71f3d4 (&amp;#34;md: fix stopping sync thread&amp;#34;), following
hang can be triggered by test shell/integrity-caching.sh:&lt;/p&gt;
&lt;p&gt;1) suspend the array:
raid_postsuspend
 mddev_suspend&lt;/p&gt;
&lt;p&gt;2) stop the array:
raid_dtr
 md_stop
  __md_stop_writes
   stop_sync_thread
    set_bit(MD_RECOVERY_INTR, &amp;amp;mddev-&amp;gt;recovery);
    md_wakeup_thread_directly(mddev-&amp;gt;sync_thread);
    wait_event(..., !test_bit(MD_RECOVERY_RUNNING, &amp;amp;mddev-&amp;gt;recovery))&lt;/p&gt;
&lt;p&gt;3) sync thread done:
md_do_sync
 set_bit(MD_RECOVERY_DONE, &amp;amp;mddev-&amp;gt;recovery);
 md_wakeup_thread(mddev-&amp;gt;thread);&lt;/p&gt;
&lt;p&gt;4) daemon thread can&amp;#39;t unregister sync thread:
md_check_recovery
 if (mddev-&amp;gt;suspended)
   return; -&amp;gt; return directly
 md_read_sync_thread
 clear_bit(MD_RECOVERY_RUNNING, &amp;amp;mddev-&amp;gt;recovery);
 -&amp;gt; MD_RECOVERY_RUNNING can&amp;#39;t be cleared, hence step 2 hang;&lt;/p&gt;
&lt;p&gt;This problem is not just related to dm-raid, fix it by ignoring
suspended array in md_check_recovery(). And follow up patches will
improve dm-raid better to frozen sync thread during suspend.&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: Don&amp;#39;t ignore suspended array in md_check_recovery()&lt;/p&gt;
&lt;p&gt;mddev_suspend() never stop sync_thread, hence it doesn&amp;#39;t make sense to
ignore suspended array in md_check_recovery(), which might cause
sync_thread can&amp;#39;t be unregistered.&lt;/p&gt;
&lt;p&gt;After commit f52f5c71f3d4 (&amp;#34;md: fix stopping sync thread&amp;#34;), following
hang can be triggered by test shell/integrity-caching.sh:&lt;/p&gt;
&lt;p&gt;1) suspend the array:
raid_postsuspend
 mddev_suspend&lt;/p&gt;
&lt;p&gt;2) stop the array:
raid_dtr
 md_stop
  __md_stop_writes
   stop_sync_thread
    set_bit(MD_RECOVERY_INTR, &amp;amp;mddev-&amp;gt;recovery);
    md_wakeup_thread_directly(mddev-&amp;gt;sync_thread);
    wait_event(..., !test_bit(MD_RECOVERY_RUNNING, &amp;amp;mddev-&amp;gt;recovery))&lt;/p&gt;
&lt;p&gt;3) sync thread done:
md_do_sync
 set_bit(MD_RECOVERY_DONE, &amp;amp;mddev-&amp;gt;recovery);
 md_wakeup_thread(mddev-&amp;gt;thread);&lt;/p&gt;
&lt;p&gt;4) daemon thread can&amp;#39;t unregister sync thread:
md_check_recovery
 if (mddev-&amp;gt;suspended)
   return; -&amp;gt; return directly
 md_read_sync_thread
 clear_bit(MD_RECOVERY_RUNNING, &amp;amp;mddev-&amp;gt;recovery);
 -&amp;gt; MD_RECOVERY_RUNNING can&amp;#39;t be cleared, hence step 2 hang;&lt;/p&gt;
&lt;p&gt;This problem is not just related to dm-raid, fix it by ignoring
suspended array in md_check_recovery(). And follow up patches will
improve dm-raid better to frozen sync thread during suspend.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-26758</guid>
    </item>
  </channel>
</rss>
