<?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 18:57:36 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-37984 — crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-37984</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;crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP()&lt;/p&gt;
&lt;p&gt;Herbert notes that DIV_ROUND_UP() may overflow unnecessarily if an ecdsa
implementation&amp;#39;s -&amp;gt;key_size() callback returns an unusually large value.
Herbert instead suggests (for a division by 8):&lt;/p&gt;
&lt;p&gt;X / 8 + !!(X &amp;amp; 7)&lt;/p&gt;
&lt;p&gt;Based on this formula, introduce a generic DIV_ROUND_UP_POW2() macro and
use it in lieu of DIV_ROUND_UP() for -&amp;gt;key_size() return values.&lt;/p&gt;
&lt;p&gt;Additionally, use the macro in ecc_digits_from_bytes(), whose &amp;#34;nbytes&amp;#34;
parameter is a -&amp;gt;key_size() return value in some instances, or a
user-specified ASN.1 length in the case of ecdsa_get_signature_rs().&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;crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP()&lt;/p&gt;
&lt;p&gt;Herbert notes that DIV_ROUND_UP() may overflow unnecessarily if an ecdsa
implementation&amp;#39;s -&amp;gt;key_size() callback returns an unusually large value.
Herbert instead suggests (for a division by 8):&lt;/p&gt;
&lt;p&gt;X / 8 + !!(X &amp;amp; 7)&lt;/p&gt;
&lt;p&gt;Based on this formula, introduce a generic DIV_ROUND_UP_POW2() macro and
use it in lieu of DIV_ROUND_UP() for -&amp;gt;key_size() return values.&lt;/p&gt;
&lt;p&gt;Additionally, use the macro in ecc_digits_from_bytes(), whose &amp;#34;nbytes&amp;#34;
parameter is a -&amp;gt;key_size() return value in some instances, or a
user-specified ASN.1 length in the case of ecdsa_get_signature_rs().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-37984</guid>
    </item>
  </channel>
</rss>
