LiveActive security incident?Get immediate response
CVE Record

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

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().

HighCVSS 7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A Linux kernel ECDSA calculation can overflow when processing an unusually large key-size value or certain ASN.1 signature lengths. That may corrupt security-sensitive calculations and potentially affect confidentiality, integrity, and availability. Exploitation requires local, low-privileged access and high complexity according to the supplied CVSS assessment.

Executive priority

Treat this as a high-priority kernel maintenance issue, especially on shared hosts or systems executing untrusted workloads. It is not supported as an emergency internet-wide threat because access is local, complexity is high, and no active exploitation is documented. Remediate through normal expedited patch governance.

Technical view

DIV_ROUND_UP() could overflow while converting ECDSA key sizes from bytes, including inside ecc_digits_from_bytes(). The resolved implementation introduces DIV_ROUND_UP_POW2() and uses overflow-resistant division-by-eight arithmetic. The supplied CVSS v3.1 score is 7.0: local access, high complexity, low privileges, no user interaction, and high potential impact.

Likely exposure

Prioritize Linux systems running releases explicitly marked affected in the bundle, including 6.10, 6.6.99, 6.12.39, 6.14.5, and 6.15. Exposure depends on whether local users or workloads can reach affected ECDSA processing. The version metadata contains unusual and overlapping entries, so confirm status with the kernel or distribution vendor.

Exploitation context

The bundle does not identify active exploitation, and the CVE is not listed as KEV. The CVSS vector indicates exploitation would require local low-privileged access and high complexity. No public proof of concept or demonstrated attack path is established by the supplied sources.

Researcher notes

The vulnerable arithmetic concerns overflow during byte-to-unit rounding for implementation-supplied key sizes and user-specified ASN.1 lengths. Four stable-kernel fix references are supplied. Exact triggering conditions, reachable call paths, resulting corruption behavior, affected configuration requirements, and public exploitability are not fully documented in the bundle.

Mitigation direction

  • Apply a vendor-supported kernel update incorporating the referenced stable fixes.
  • Check distribution advisories for package-specific affected and fixed versions.
  • Prioritize multi-user systems and hosts running untrusted local workloads.
  • Restrict unnecessary local access while updates are evaluated and deployed.

Validation and detection

  • Record each system's running kernel and distribution package version.
  • Compare package status against current distribution or Linux stable guidance.
  • Confirm the deployed kernel incorporates an applicable referenced fix commit.
  • Reboot updated systems and verify the intended kernel is running.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-37984 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7CVSS 3.1HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H15.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7High
CVSS 3.1 vector shape for CVE-2025-37984Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux55779f26eab9af12474a447001bd17070f055712, c6ab5c915da460c0397960af3c308386c3f3247b, c6ab5c915da460c0397960af3c308386c3f3247b, c6ab5c915da460c0397960af3c308386c3f3247b, 6.6.70unaffected
LinuxLinux6.10, 0, 6.6.99, 6.12.39, 6.14.5, 6.15affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.