<?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, 29 Sep 2026 06:19:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89720 — ubifs: fix out-of-bounds read in signature length check</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89720</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;ubifs: fix out-of-bounds read in signature length check&lt;/p&gt;
&lt;p&gt;ubifs_sb_verify_signature() bounds the on-disk ubifs_sig_node-&amp;gt;len field
before handing the signature payload to verify_pkcs7_signature(), but the
check has the wrong sign:&lt;/p&gt;
&lt;p&gt;if (le32_to_cpu(signode-&amp;gt;len) &amp;gt; snod-&amp;gt;len + sizeof(struct ubifs_sig_node))&lt;/p&gt;
&lt;p&gt;The signature bytes start sizeof(struct ubifs_sig_node) (UBIFS_SIG_NODE_SZ,
64 bytes) into the node, so the payload is at most&lt;/p&gt;
&lt;p&gt;snod-&amp;gt;len - sizeof(struct ubifs_sig_node)&lt;/p&gt;
&lt;p&gt;bytes long. Adding the header size instead of subtracting it accepts a
declared length up to 2 * UBIFS_SIG_NODE_SZ larger than the node actually
holds -- past the end of c-&amp;gt;sbuf, which is vmalloc(c-&amp;gt;leb_size).
verify_pkcs7_signature() -&amp;gt; pkcs7_parse_message() -&amp;gt; asn1_ber_decoder()
is then handed that inflated length and reads beyond the allocation while
walking the DER headers. The node length comes straight from the mounted
image, so a crafted signed UBIFS image reaches this via
ubifs_read_superblock() before the signature is cryptographically checked.&lt;/p&gt;
&lt;p&gt;snod-&amp;gt;len is guaranteed to be &amp;gt;= UBIFS_SIG_NODE_SZ by the node scanner
(c-&amp;gt;ranges[UBIFS_SIG_NODE].min_len == UBIFS_SIG_NODE_SZ), so the corrected
subtraction cannot underflow. Legitimately signed images are unaffected: a
correct superblock never declares a signature longer than the node it is
embedded in.&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;ubifs: fix out-of-bounds read in signature length check&lt;/p&gt;
&lt;p&gt;ubifs_sb_verify_signature() bounds the on-disk ubifs_sig_node-&amp;gt;len field
before handing the signature payload to verify_pkcs7_signature(), but the
check has the wrong sign:&lt;/p&gt;
&lt;p&gt;if (le32_to_cpu(signode-&amp;gt;len) &amp;gt; snod-&amp;gt;len + sizeof(struct ubifs_sig_node))&lt;/p&gt;
&lt;p&gt;The signature bytes start sizeof(struct ubifs_sig_node) (UBIFS_SIG_NODE_SZ,
64 bytes) into the node, so the payload is at most&lt;/p&gt;
&lt;p&gt;snod-&amp;gt;len - sizeof(struct ubifs_sig_node)&lt;/p&gt;
&lt;p&gt;bytes long. Adding the header size instead of subtracting it accepts a
declared length up to 2 * UBIFS_SIG_NODE_SZ larger than the node actually
holds -- past the end of c-&amp;gt;sbuf, which is vmalloc(c-&amp;gt;leb_size).
verify_pkcs7_signature() -&amp;gt; pkcs7_parse_message() -&amp;gt; asn1_ber_decoder()
is then handed that inflated length and reads beyond the allocation while
walking the DER headers. The node length comes straight from the mounted
image, so a crafted signed UBIFS image reaches this via
ubifs_read_superblock() before the signature is cryptographically checked.&lt;/p&gt;
&lt;p&gt;snod-&amp;gt;len is guaranteed to be &amp;gt;= UBIFS_SIG_NODE_SZ by the node scanner
(c-&amp;gt;ranges[UBIFS_SIG_NODE].min_len == UBIFS_SIG_NODE_SZ), so the corrected
subtraction cannot underflow. Legitimately signed images are unaffected: a
correct superblock never declares a signature longer than the node it is
embedded in.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89720</guid>
    </item>
  </channel>
</rss>
