<?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 17:54:07 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143019 — dm snapshot: fix discard writing into the next COW chunk</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143019</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 snapshot: fix discard writing into the next COW chunk&lt;/p&gt;
&lt;p&gt;zero_exception() zeroes one chunk of the COW device and takes the start
sector from bio-&amp;gt;bi_iter.bi_sector.  remap_exception() has already set
that to the COW chunk start plus the offset inside the chunk.  That
offset is needed for reads and writes, but for a discard it is wrong:
the zeroing window is shifted, so the head of the target chunk keeps
its old data and the tail lands in the next COW chunk, which holds a
different exception.&lt;/p&gt;
&lt;p&gt;io_overlaps_chunk() should have caught this, but it only compares the
length.  &amp;#34;maps to entire chunks&amp;#34; in snapshot.rst also means the discard
has to start on a chunk boundary.&lt;/p&gt;
&lt;p&gt;A discard that is not a full chunk has a second problem: after
remap_exception() it is sent to the COW device, where it hits a chunk
that still backs a live exception.  After a discard the contents are
undefined, but the exception stays in the table and keeps pointing at
that chunk, so a later read returns whatever the discard left instead
of the snapshot&amp;#39;s data.&lt;/p&gt;
&lt;p&gt;Reproducer:&lt;/p&gt;
&lt;p&gt;truncate -s 4M o.img c.img
	o=$(losetup -f --show o.img)
	c=$(losetup -f --show c.img)
	dmsetup create snap --table \
		&amp;#34;0 8192 snapshot $o $c P 512 1 discard_zeroes_cow&amp;#34;&lt;/p&gt;
&lt;p&gt;# write two chunks, this creates two exceptions
	head -c 256K /dev/zero | tr &amp;#39;\000&amp;#39; &amp;#39;\252&amp;#39; &amp;gt; pat
	dd if=pat of=/dev/mapper/snap bs=256K seek=1 count=1 conv=notrunc
	dd if=pat of=/dev/mapper/snap bs=25…&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 snapshot: fix discard writing into the next COW chunk&lt;/p&gt;
&lt;p&gt;zero_exception() zeroes one chunk of the COW device and takes the start
sector from bio-&amp;gt;bi_iter.bi_sector.  remap_exception() has already set
that to the COW chunk start plus the offset inside the chunk.  That
offset is needed for reads and writes, but for a discard it is wrong:
the zeroing window is shifted, so the head of the target chunk keeps
its old data and the tail lands in the next COW chunk, which holds a
different exception.&lt;/p&gt;
&lt;p&gt;io_overlaps_chunk() should have caught this, but it only compares the
length.  &amp;#34;maps to entire chunks&amp;#34; in snapshot.rst also means the discard
has to start on a chunk boundary.&lt;/p&gt;
&lt;p&gt;A discard that is not a full chunk has a second problem: after
remap_exception() it is sent to the COW device, where it hits a chunk
that still backs a live exception.  After a discard the contents are
undefined, but the exception stays in the table and keeps pointing at
that chunk, so a later read returns whatever the discard left instead
of the snapshot&amp;#39;s data.&lt;/p&gt;
&lt;p&gt;Reproducer:&lt;/p&gt;
&lt;p&gt;truncate -s 4M o.img c.img
	o=$(losetup -f --show o.img)
	c=$(losetup -f --show c.img)
	dmsetup create snap --table \
		&amp;#34;0 8192 snapshot $o $c P 512 1 discard_zeroes_cow&amp;#34;&lt;/p&gt;
&lt;p&gt;# write two chunks, this creates two exceptions
	head -c 256K /dev/zero | tr &amp;#39;\000&amp;#39; &amp;#39;\252&amp;#39; &amp;gt; pat
	dd if=pat of=/dev/mapper/snap bs=256K seek=1 count=1 conv=notrunc
	dd if=pat of=/dev/mapper/snap bs=25…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143019</guid>
    </item>
  </channel>
</rss>
