<?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>Wed, 30 Sep 2026 10:46:53 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26756 — md: Don't register sync_thread for reshape directly</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-26756</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 register sync_thread for reshape directly&lt;/p&gt;
&lt;p&gt;Currently, if reshape is interrupted, then reassemble the array will
register sync_thread directly from pers-&amp;gt;run(), in this case
&amp;#39;MD_RECOVERY_RUNNING&amp;#39; is set directly, however, there is no guarantee
that md_do_sync() will be executed, hence stop_sync_thread() will hang
because &amp;#39;MD_RECOVERY_RUNNING&amp;#39; can&amp;#39;t be cleared.&lt;/p&gt;
&lt;p&gt;Last patch make sure that md_do_sync() will set MD_RECOVERY_DONE,
however, following hang can still be triggered by dm-raid test
shell/lvconvert-raid-reshape.sh occasionally:&lt;/p&gt;
&lt;p&gt;[root@fedora ~]# cat /proc/1982/stack
[&amp;lt;0&amp;gt;] stop_sync_thread+0x1ab/0x270 [md_mod]
[&amp;lt;0&amp;gt;] md_frozen_sync_thread+0x5c/0xa0 [md_mod]
[&amp;lt;0&amp;gt;] raid_presuspend+0x1e/0x70 [dm_raid]
[&amp;lt;0&amp;gt;] dm_table_presuspend_targets+0x40/0xb0 [dm_mod]
[&amp;lt;0&amp;gt;] __dm_destroy+0x2a5/0x310 [dm_mod]
[&amp;lt;0&amp;gt;] dm_destroy+0x16/0x30 [dm_mod]
[&amp;lt;0&amp;gt;] dev_remove+0x165/0x290 [dm_mod]
[&amp;lt;0&amp;gt;] ctl_ioctl+0x4bb/0x7b0 [dm_mod]
[&amp;lt;0&amp;gt;] dm_ctl_ioctl+0x11/0x20 [dm_mod]
[&amp;lt;0&amp;gt;] vfs_ioctl+0x21/0x60
[&amp;lt;0&amp;gt;] __x64_sys_ioctl+0xb9/0xe0
[&amp;lt;0&amp;gt;] do_syscall_64+0xc6/0x230
[&amp;lt;0&amp;gt;] entry_SYSCALL_64_after_hwframe+0x6c/0x74&lt;/p&gt;
&lt;p&gt;Meanwhile mddev-&amp;gt;recovery is:
MD_RECOVERY_RUNNING |
MD_RECOVERY_INTR |
MD_RECOVERY_RESHAPE |
MD_RECOVERY_FROZEN&lt;/p&gt;
&lt;p&gt;Fix this problem by remove the code to register sync_thread directly
from raid10 and raid5. And let md_check_recovery() to register
sync_thread.&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 register sync_thread for reshape directly&lt;/p&gt;
&lt;p&gt;Currently, if reshape is interrupted, then reassemble the array will
register sync_thread directly from pers-&amp;gt;run(), in this case
&amp;#39;MD_RECOVERY_RUNNING&amp;#39; is set directly, however, there is no guarantee
that md_do_sync() will be executed, hence stop_sync_thread() will hang
because &amp;#39;MD_RECOVERY_RUNNING&amp;#39; can&amp;#39;t be cleared.&lt;/p&gt;
&lt;p&gt;Last patch make sure that md_do_sync() will set MD_RECOVERY_DONE,
however, following hang can still be triggered by dm-raid test
shell/lvconvert-raid-reshape.sh occasionally:&lt;/p&gt;
&lt;p&gt;[root@fedora ~]# cat /proc/1982/stack
[&amp;lt;0&amp;gt;] stop_sync_thread+0x1ab/0x270 [md_mod]
[&amp;lt;0&amp;gt;] md_frozen_sync_thread+0x5c/0xa0 [md_mod]
[&amp;lt;0&amp;gt;] raid_presuspend+0x1e/0x70 [dm_raid]
[&amp;lt;0&amp;gt;] dm_table_presuspend_targets+0x40/0xb0 [dm_mod]
[&amp;lt;0&amp;gt;] __dm_destroy+0x2a5/0x310 [dm_mod]
[&amp;lt;0&amp;gt;] dm_destroy+0x16/0x30 [dm_mod]
[&amp;lt;0&amp;gt;] dev_remove+0x165/0x290 [dm_mod]
[&amp;lt;0&amp;gt;] ctl_ioctl+0x4bb/0x7b0 [dm_mod]
[&amp;lt;0&amp;gt;] dm_ctl_ioctl+0x11/0x20 [dm_mod]
[&amp;lt;0&amp;gt;] vfs_ioctl+0x21/0x60
[&amp;lt;0&amp;gt;] __x64_sys_ioctl+0xb9/0xe0
[&amp;lt;0&amp;gt;] do_syscall_64+0xc6/0x230
[&amp;lt;0&amp;gt;] entry_SYSCALL_64_after_hwframe+0x6c/0x74&lt;/p&gt;
&lt;p&gt;Meanwhile mddev-&amp;gt;recovery is:
MD_RECOVERY_RUNNING |
MD_RECOVERY_INTR |
MD_RECOVERY_RESHAPE |
MD_RECOVERY_FROZEN&lt;/p&gt;
&lt;p&gt;Fix this problem by remove the code to register sync_thread directly
from raid10 and raid5. And let md_check_recovery() to register
sync_thread.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-26756</guid>
    </item>
  </channel>
</rss>
