<?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 19:54:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139022 — lib/842: reject output overflows from index and short data</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139022</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;lib/842: reject output overflows from index and short data&lt;/p&gt;
&lt;p&gt;The output length passed to sw842_decompress() is the caller&amp;#39;s buffer
capacity. Indexed copies write 2, 4 or 8 bytes and short-data templates
write up to 7, but neither checks that capacity before writing and
decrementing p-&amp;gt;olen.&lt;/p&gt;
&lt;p&gt;Overwriting an undersized destination then underflows p-&amp;gt;olen, which is
unsigned, so every later bounds check in the stream passes. Subsequent
operations keep writing past the destination, and a matching CRC lets
sw842_decompress() return success with an output length larger than the
capacity the caller supplied.&lt;/p&gt;
&lt;p&gt;This is reachable through zram&amp;#39;s compressed writeback path. With 842
selected, targeted corruption of the compressed data on its backing device
made a KASAN kernel report vmalloc-out-of-bounds writes in __do_index() and
sw842_decompress() when zram read the page back.&lt;/p&gt;
&lt;p&gt;Check the remaining output before both operations and return -ENOSPC,
matching the other output-producing templates.&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;lib/842: reject output overflows from index and short data&lt;/p&gt;
&lt;p&gt;The output length passed to sw842_decompress() is the caller&amp;#39;s buffer
capacity. Indexed copies write 2, 4 or 8 bytes and short-data templates
write up to 7, but neither checks that capacity before writing and
decrementing p-&amp;gt;olen.&lt;/p&gt;
&lt;p&gt;Overwriting an undersized destination then underflows p-&amp;gt;olen, which is
unsigned, so every later bounds check in the stream passes. Subsequent
operations keep writing past the destination, and a matching CRC lets
sw842_decompress() return success with an output length larger than the
capacity the caller supplied.&lt;/p&gt;
&lt;p&gt;This is reachable through zram&amp;#39;s compressed writeback path. With 842
selected, targeted corruption of the compressed data on its backing device
made a KASAN kernel report vmalloc-out-of-bounds writes in __do_index() and
sw842_decompress() when zram read the page back.&lt;/p&gt;
&lt;p&gt;Check the remaining output before both operations and return -ENOSPC,
matching the other output-producing templates.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139022</guid>
    </item>
  </channel>
</rss>
