7

CVE-2025-37984: crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP()

Modified
AliasesUBUNTU-CVE-2025-37984DEBIAN-CVE-2025-37984
Published 20-05-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-37984 is a high (CVSS 7.0) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.0/10
010
High · v3.1 (CVE.org)
EPSS score
0.19%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 31 · Related 30

Timeline

  1. 20-05-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP() Herbert notes that DIV_ROUND_UP() may overflow unnecessarily if an ecdsa implementation's ->key_size() callback returns an unusually large value. Herbert instead suggests (for a division by 8): X / 8 + !!(X & 7) Based on this formula, introduce a generic DIV_ROUND_UP_POW2() macro and use it in lieu of DIV_ROUND_UP() for ->key_size() return values. Additionally, use the macro in ecc_digits_from_bytes(), whose "nbytes" parameter is a ->key_size() return value in some instances, or a user-specified ASN.1 length in the case of ecdsa_get_signature_rs().

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.18% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu141 products
  • linuxAll versions (No fix recorded) | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 55779f26eab9af12474a447001bd17070f055712, < f02f0218be412cff1c844addf58e002071be298b | ≥ c6ab5c915da460c0397960af3c308386c3f3247b, < f2133b849ff273abddb6da622daddd8f6f6fa448 | ≥ c6ab5c915da460c0397960af3c308386c3f3247b, < 921b8167f10708e38080f84e195cdc68a7a561f1 | ≥ c6ab5c915da460c0397960af3c308386c3f3247b, < b16510a530d1e6ab9683f04f8fb34f2e0f538275 | ≥ 6.6.70, < 6.6.99 | 6.10
  • linux_kernel≥ 6.6.70, < 6.6.99 | ≥ 6.10, < 6.12.39 | ≥ 6.13, < 6.14.5
Debian1 product
  • linux< 6.12.41-1 | < 6.16.3-1

3 vendors · 144 products

References

27 links
Show all 27 references