<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:00:55.027042+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-139258</id>
    <title>CVE-2026-139258 — ntfs: widen the sub-block offsets in ntfs_decompress()</title>
    <updated>2026-12-04T19:00:55.028464+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>ntfs: widen the sub-block offsets in ntfs_decompress()</p>
<p>ntfs_decompress() tracks where the current sub-block starts and ends
inside the destination page with two u16s:</p>
<p>u16 do_sb_start;
	u16 do_sb_end;
	...
	do_sb_start = *dest_ofs;
	do_sb_end = do_sb_start + NTFS_SB_SIZE;</p>
<p>*dest_ofs is an int page offset masked with ~PAGE_MASK, and
NTFS_SB_SIZE is 0x1000, so do_sb_end needs PAGE_SIZE + 0xfff of range.
That exceeds u16 once PAGE_SIZE reaches 0x10000: the last sub-block of a
page starts at 0xf000 and do_sb_end wraps from 0x10000 to 0.</p>
<p>The zero-fill that pads a short sub-block then computes a negative
length:</p>
<p>if (dp_addr &lt; dp_sb_end) {
		int nr_bytes = do_sb_end - *dest_ofs;</p>
<p>memset(dp_addr, 0, nr_bytes);</p>
<p>A sub-block made only of symbol tokens reaches this without consulting
do_sb_end on the way, because that path just does</p>
<p>*dp_addr++ = *cb++;
	++*dest_ofs;</p>
<p>and is bounded by dp_addr against dp_sb_end.  With do_sb_start at 0xf000
and eight literal bytes emitted, nr_bytes is -61448 and the memset()
runs for 18446744073709490168 bytes.</p>
<p>Getting there is cheap: fifteen sub-blocks of eleven bytes each advance
*dest_ofs to 0xf000, since the same zero-fill pads each of them out to
0x1000 while do_sb_end is still exact, and the sixteenth one triggers
the wrap.  A compression block is 0x10000 bytes with 4 KiB clusters and
the fixed compression unit of 4, so all sixteen fit with room to spare.</p>
<p>Phrase tokens…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139258"/>
  </entry>
</feed>
