Linux Kernel up to 6.14.2 ftrace ftrace_graph_set_hash infinite loop

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.0$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in Linux Kernel up to 6.14.2. Impacted is the function ftrace_graph_set_hash of the component ftrace. The manipulation results in infinite loop. This vulnerability is reported as CVE-2025-37940. No exploit exists. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.14.2. It has been classified as critical. Affected is the function ftrace_graph_set_hash of the component ftrace. The manipulation with an unknown input leads to a infinite loop vulnerability. CWE is classifying the issue as CWE-835. The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. This is going to have an impact on availability. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: ftrace: Add cond_resched() to ftrace_graph_set_hash() When the kernel contains a large number of functions that can be traced, the loop in ftrace_graph_set_hash() may take a lot of time to execute. This may trigger the softlockup watchdog. Add cond_resched() within the loop to allow the kernel to remain responsive even when processing a large number of functions. This matches the cond_resched() that is used in other locations of the code that iterates over all functions that can be traced.

The advisory is shared for download at git.kernel.org. This vulnerability is traded as CVE-2025-37940 since 04/16/2025. The exploitability is told to be difficult. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 237504 (Debian dla-4193 : linux-config-6.1 - security update), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 5.4.293, 5.10.237, 5.15.181, 6.1.135, 6.6.88, 6.12.24, 6.13.12, 6.14.3 or 6.15-rc1 eliminates this vulnerability. Applying the patch e5b4ae6f01d4a510d5725eca7254519a1093920d/618655d54c5f8af5d57b77491d08c0f0ff77d114/dd38803c9088b848c6b56f4f6d7efc4497bfde61/8dd7d7280357596ba63dfdb4c1725d9dd24bd42a/5d336ac215e5c76e43ef4bca9ba699835e53e2fd/1fce9574b9d515bcb8a75379a8053e18602424e3/4429535acab750d963fdc3dfcc9e0eee42f4d599/72be43ff061a889c6ee648a330a42486cafa15a6/42ea22e754ba4f2b86f8760ca27f6f71da2d982c is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (237504) and CERT Bund (WID-SEC-2025-1114). Once again VulDB remains the best source for vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • Dell Avamar
  • Open Source Linux Kernel
  • Dell NetWorker
  • Dell Secure Connect Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.1
VulDB Meta Temp Score: 5.0

VulDB Base Score: 4.8
VulDB Temp Score: 4.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Infinite loop
CWE: CWE-835 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 237504
Nessus Name: Debian dla-4193 : linux-config-6.1 - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 5.4.293/5.10.237/5.15.181/6.1.135/6.6.88/6.12.24/6.13.12/6.14.3/6.15-rc1
Patch: e5b4ae6f01d4a510d5725eca7254519a1093920d/618655d54c5f8af5d57b77491d08c0f0ff77d114/dd38803c9088b848c6b56f4f6d7efc4497bfde61/8dd7d7280357596ba63dfdb4c1725d9dd24bd42a/5d336ac215e5c76e43ef4bca9ba699835e53e2fd/1fce9574b9d515bcb8a75379a8053e18602424e3/4429535acab750d963fdc3dfcc9e0eee42f4d599/72be43ff061a889c6ee648a330a42486cafa15a6/42ea22e754ba4f2b86f8760ca27f6f71da2d982c

Timelineinfo

04/16/2025 🔍
05/20/2025 +34 days 🔍
05/20/2025 +0 days 🔍
12/19/2025 +213 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-37940 (🔍)
GCVE (CVE): GCVE-0-2025-37940
GCVE (VulDB): GCVE-100-309732
CERT Bund: WID-SEC-2025-1114 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 05/20/2025 18:08
Updated: 12/19/2025 19:49
Changes: 05/20/2025 18:08 (59), 05/30/2025 15:01 (2), 08/09/2025 23:21 (7), 09/27/2025 08:46 (1), 12/14/2025 16:53 (1), 12/19/2025 19:49 (12)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!