<?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 16:26:32 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-50278 — dm cache: fix potential out-of-bounds access on the first resume</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-50278</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 cache: fix potential out-of-bounds access on the first resume&lt;/p&gt;
&lt;p&gt;Out-of-bounds access occurs if the fast device is expanded unexpectedly
before the first-time resume of the cache table. This happens because
expanding the fast device requires reloading the cache table for
cache_create to allocate new in-core data structures that fit the new
size, and the check in cache_preresume is not performed during the
first resume, leading to the issue.&lt;/p&gt;
&lt;p&gt;Reproduce steps:&lt;/p&gt;
&lt;p&gt;1. prepare component devices:&lt;/p&gt;
&lt;p&gt;dmsetup create cmeta --table &amp;#34;0 8192 linear /dev/sdc 0&amp;#34;
dmsetup create cdata --table &amp;#34;0 65536 linear /dev/sdc 8192&amp;#34;
dmsetup create corig --table &amp;#34;0 524288 linear /dev/sdc 262144&amp;#34;
dd if=/dev/zero of=/dev/mapper/cmeta bs=4k count=1 oflag=direct&lt;/p&gt;
&lt;p&gt;2. load a cache table of 512 cache blocks, and deliberately expand the
   fast device before resuming the cache, making the in-core data
   structures inadequate.&lt;/p&gt;
&lt;p&gt;dmsetup create cache --notable
dmsetup reload cache --table &amp;#34;0 524288 cache /dev/mapper/cmeta \
/dev/mapper/cdata /dev/mapper/corig 128 2 metadata2 writethrough smq 0&amp;#34;
dmsetup reload cdata --table &amp;#34;0 131072 linear /dev/sdc 8192&amp;#34;
dmsetup resume cdata
dmsetup resume cache&lt;/p&gt;
&lt;p&gt;3. suspend the cache to write out the in-core dirty bitset and hint
   array, leading to out-of-bounds access to the dirty bitset at offset
   0x40:&lt;/p&gt;
&lt;p&gt;dmsetup suspend cache&lt;/p&gt;
&lt;p&gt;KASAN reports:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: vmalloc-out-of-bounds in is_dirty_callback+0x2b/0x8…&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 cache: fix potential out-of-bounds access on the first resume&lt;/p&gt;
&lt;p&gt;Out-of-bounds access occurs if the fast device is expanded unexpectedly
before the first-time resume of the cache table. This happens because
expanding the fast device requires reloading the cache table for
cache_create to allocate new in-core data structures that fit the new
size, and the check in cache_preresume is not performed during the
first resume, leading to the issue.&lt;/p&gt;
&lt;p&gt;Reproduce steps:&lt;/p&gt;
&lt;p&gt;1. prepare component devices:&lt;/p&gt;
&lt;p&gt;dmsetup create cmeta --table &amp;#34;0 8192 linear /dev/sdc 0&amp;#34;
dmsetup create cdata --table &amp;#34;0 65536 linear /dev/sdc 8192&amp;#34;
dmsetup create corig --table &amp;#34;0 524288 linear /dev/sdc 262144&amp;#34;
dd if=/dev/zero of=/dev/mapper/cmeta bs=4k count=1 oflag=direct&lt;/p&gt;
&lt;p&gt;2. load a cache table of 512 cache blocks, and deliberately expand the
   fast device before resuming the cache, making the in-core data
   structures inadequate.&lt;/p&gt;
&lt;p&gt;dmsetup create cache --notable
dmsetup reload cache --table &amp;#34;0 524288 cache /dev/mapper/cmeta \
/dev/mapper/cdata /dev/mapper/corig 128 2 metadata2 writethrough smq 0&amp;#34;
dmsetup reload cdata --table &amp;#34;0 131072 linear /dev/sdc 8192&amp;#34;
dmsetup resume cdata
dmsetup resume cache&lt;/p&gt;
&lt;p&gt;3. suspend the cache to write out the in-core dirty bitset and hint
   array, leading to out-of-bounds access to the dirty bitset at offset
   0x40:&lt;/p&gt;
&lt;p&gt;dmsetup suspend cache&lt;/p&gt;
&lt;p&gt;KASAN reports:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: vmalloc-out-of-bounds in is_dirty_callback+0x2b/0x8…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-50278</guid>
    </item>
  </channel>
</rss>
