Integer Overflow Vulnerability in Linux Kernel's ECDSA Implementation

linux Updated 02 Oct 2025

Summary

20/05/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-37984: 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 implementati... Affects linux versions < 6.12.41-1. Fixed in 6.12.41-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management and system resources. It supports a wide range of functionalities, including process management, memory management, and device control. The kernel's cryptographic functions, including ECDSA (Elliptic Curve Digital Signature Algorithm), are critical for secure communications and data integrity. However, vulnerabilities in these cryptographic implementations can lead to severe security risks, including unauthorized access and data breaches.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the ECDSA implementation related to the DIV_ROUND_UP() macro. This macro may overflow if the ->key_size() callback returns an unusually large value, potentially leading to incorrect calculations and security flaws. The issue stems from the way integer division is handled in the code, which can result in unexpected behavior during cryptographic operations. If exploited, this vulnerability could compromise the integrity of digital signatures, allowing attackers to forge signatures and impersonate legitimate users.

How To Fix

Minimum fixed version

6.12.41-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, no specific workarounds have been provided for this vulnerability. It is recommended to apply the patch as soon as it is available to mitigate any potential risks.

Conclusion

The integer overflow vulnerability in the Linux kernel's ECDSA implementation poses significant security risks. Users are strongly advised to update their systems to the latest patched versions to mitigate these risks. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is an integer overflow issue in the ECDSA implementation of the Linux kernel, which can lead to incorrect calculations in cryptographic operations.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for open-source vulnerabilities without requiring any installation.

If exploited, this vulnerability could allow attackers to forge digital signatures, leading to unauthorized access and data breaches.

Yes, patches are available for Debian 13 (version 6.12.41-1) and Debian 14 (version 6.16.3-1). Users should update their systems to these versions.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in software using a manifest file like package-lock.json. It provides real-time alerts without requiring access to the code.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.41-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback