CVE-2025-37984
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-190CVE-2025-37984 is a Integer Overflow vulnerability
What is Integer Overflow?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.6.70,
6.10
and later are affected. Fixed in
6.6.99,
6.12.39,
6.14.5,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-37984 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/921b8167f10708e38080f84e195cdc68a7a561f1
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b16510a530d1e6ab9683f04f8fb34f2e0f538275
-
PatchKernel patch commithttps://git.kernel.org/stable/c/f02f0218be412cff1c844addf58e002071be298b
Frequently asked questions
-
What is CVE-2025-37984?
CVE-2025-37984 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Integer Overflow flaw (CWE-190) . It affects Linux kernel versions from 6.6.70 onward and has been patched in 6.6.99, 6.12.39, 6.14.5 and others. CVE-2025-37984 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-37984?
CVE-2025-37984 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-37984?
Yes — CVE-2025-37984 has been patched. Fixed versions include 6.6.99, 6.12.39, 6.14.5 and others. If you are running Linux kernel 6.6.70 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-37984 actively exploited?
No — CVE-2025-37984 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Integer Overflow (CWE-190)?
The product performs a calculation that can produce an integer overflow, leading to unexpected values. View CWE-190 on MITRE CWE →