{"id":21642,"date":"2026-09-12T04:31:27","date_gmt":"2026-09-11T20:31:27","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89720"},"modified":"2026-09-12T04:31:27","modified_gmt":"2026-09-11T20:31:27","slug":"cve-2026-89720","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89720","title":{"rendered":"CVE-2026-89720 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nubifs: fix out-of-bou"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ubifs: fix out-of-bounds read in signature length check<\/p>\n<p>ubifs_sb_verify_signature() bounds the on-disk ubifs_sig_node-&gt;len field<br \/>\nbefore handing the signature payload to verify_pkcs7_signature(), but the<br \/>\ncheck has the wrong sign:<\/p>\n<p>\tif (le32_to_cpu(signode-&gt;len) &gt; snod-&gt;len + sizeof(struct ubifs_sig_node))<\/p>\n<p>The signature bytes start sizeof(struct ubifs_sig_node) (UBIFS_SIG_NODE_SZ,<br \/>\n64 bytes) into the node, so the payload is at most<\/p>\n<p>\tsnod-&gt;len &#8211; sizeof(struct ubifs_sig_node)<\/p>\n<p>bytes long. Adding the header size instead of subtracting it accepts a<br \/>\ndeclared length up to 2 * UBIFS_SIG_NODE_SZ larger than the node actually<br \/>\nholds &#8212; past the end of c-&gt;sbuf, which is vmalloc(c-&gt;leb_size).<br \/>\nverify_pkcs7_signature() -&gt; pkcs7_parse_message() -&gt; asn1_ber_decoder()<br \/>\nis then handed that inflated length and reads beyond the allocation while<br \/>\nwalking the DER headers. The node length comes straight from the mounted<br \/>\nimage, so a crafted signed UBIFS image reaches this via<br \/>\nubifs_read_superblock() before the signature is cryptographically checked.<\/p>\n<p>snod-&gt;len is guaranteed to be &gt;= UBIFS_SIG_NODE_SZ by the node scanner<br \/>\n(c-&gt;ranges[UBIFS_SIG_NODE].min_len == UBIFS_SIG_NODE_SZ), so the corrected<br \/>\nsubtraction cannot underflow. Legitimately signed images are unaffected: a<br \/>\ncorrect superblock never declares a signature longer than the node it is<br \/>\nembedded in.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ubifs: fix out-of-bounds read in signature length check<\/p>\n<p>ubifs_sb_verify_signature() bounds the on-disk ubifs_sig_node-&gt;len field<br \/>\nb<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21642","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}