CVE-2025-37984crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP()
Updated under an hour ago ()
Does this affect you?
It affects Linux and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 7.0 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 15, 2026
Affected products
Linux Linux linux:linux (from the name) | from 55779f26eab9af12474a447001bd17070f055712 before f02f0218be412cff1c844addf58e002071be298b; from c6ab5c915da460c0397960af3c308386c3f3247b before f2133b849ff273abddb6da622daddd8f6f6fa448; from c6ab5c915da460c0397960af3c308386c3f3247b before 921b8167f10708e38080f84e195cdc68a7a561f1; from c6ab5c915da460c0397960af3c308386c3f3247b before b16510a530d1e6ab9683f04f8fb34f2e0f538275; from 6.6.70 before 6.6.99 | CNA record |
linux linux_kernel linux:linux_kernel | from 6.6.70 before 6.6.99; from 6.10 before 6.12.39; from 6.13 before 6.14.5 | NVD |
References
- https://git.kernel.org/stable/c/f02f0218be412cff1c844addf58e002071be298bpatch
- https://git.kernel.org/stable/c/f2133b849ff273abddb6da622daddd8f6f6fa448patch
- https://git.kernel.org/stable/c/921b8167f10708e38080f84e195cdc68a7a561f1patch
- https://git.kernel.org/stable/c/b16510a530d1e6ab9683f04f8fb34f2e0f538275patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.