<?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:04 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26718 — dm-crypt, dm-verity: disable tasklets</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-26718</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;dm-crypt, dm-verity: disable tasklets&lt;/p&gt;
&lt;p&gt;Tasklets have an inherent problem with memory corruption. The function
tasklet_action_common calls tasklet_trylock, then it calls the tasklet
callback and then it calls tasklet_unlock. If the tasklet callback frees
the structure that contains the tasklet or if it calls some code that may
free it, tasklet_unlock will write into free memory.&lt;/p&gt;
&lt;p&gt;The commits 8e14f610159d and d9a02e016aaf try to fix it for dm-crypt, but
it is not a sufficient fix and the data corruption can still happen [1].
There is no fix for dm-verity and dm-verity will write into free memory
with every tasklet-processed bio.&lt;/p&gt;
&lt;p&gt;There will be atomic workqueues implemented in the kernel 6.9 [2]. They
will have better interface and they will not suffer from the memory
corruption problem.&lt;/p&gt;
&lt;p&gt;But we need something that stops the memory corruption now and that can be
backported to the stable kernels. So, I&amp;#39;m proposing this commit that
disables tasklets in both dm-crypt and dm-verity. This commit doesn&amp;#39;t
remove the tasklet support, because the tasklet code will be reused when
atomic workqueues will be implemented.&lt;/p&gt;
&lt;p&gt;[1] https://lore.kernel.org/all/d390d7ee-f142-44d3-822a-87949e14608b@suse.de/T/
[2] https://lore.kernel.org/lkml/20240130091300.2968534-1-tj@kernel.org/&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;dm-crypt, dm-verity: disable tasklets&lt;/p&gt;
&lt;p&gt;Tasklets have an inherent problem with memory corruption. The function
tasklet_action_common calls tasklet_trylock, then it calls the tasklet
callback and then it calls tasklet_unlock. If the tasklet callback frees
the structure that contains the tasklet or if it calls some code that may
free it, tasklet_unlock will write into free memory.&lt;/p&gt;
&lt;p&gt;The commits 8e14f610159d and d9a02e016aaf try to fix it for dm-crypt, but
it is not a sufficient fix and the data corruption can still happen [1].
There is no fix for dm-verity and dm-verity will write into free memory
with every tasklet-processed bio.&lt;/p&gt;
&lt;p&gt;There will be atomic workqueues implemented in the kernel 6.9 [2]. They
will have better interface and they will not suffer from the memory
corruption problem.&lt;/p&gt;
&lt;p&gt;But we need something that stops the memory corruption now and that can be
backported to the stable kernels. So, I&amp;#39;m proposing this commit that
disables tasklets in both dm-crypt and dm-verity. This commit doesn&amp;#39;t
remove the tasklet support, because the tasklet code will be reused when
atomic workqueues will be implemented.&lt;/p&gt;
&lt;p&gt;[1] https://lore.kernel.org/all/d390d7ee-f142-44d3-822a-87949e14608b@suse.de/T/
[2] https://lore.kernel.org/lkml/20240130091300.2968534-1-tj@kernel.org/&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-26718</guid>
    </item>
  </channel>
</rss>
