Linux Kernel up to 6.14.2 ftrace ftrace_graph_set_hash infinite loop

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.0 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Type
Vendor
Name
Version
- 5.4.292
- 5.10.236
- 5.15.180
- 6.1.134
- 6.6.0
- 6.6.1
- 6.6.2
- 6.6.3
- 6.6.4
- 6.6.5
- 6.6.6
- 6.6.7
- 6.6.8
- 6.6.9
- 6.6.10
- 6.6.11
- 6.6.12
- 6.6.13
- 6.6.14
- 6.6.15
- 6.6.16
- 6.6.17
- 6.6.18
- 6.6.19
- 6.6.20
- 6.6.21
- 6.6.22
- 6.6.23
- 6.6.24
- 6.6.25
- 6.6.26
- 6.6.27
- 6.6.28
- 6.6.29
- 6.6.30
- 6.6.31
- 6.6.32
- 6.6.33
- 6.6.34
- 6.6.35
- 6.6.36
- 6.6.37
- 6.6.38
- 6.6.39
- 6.6.40
- 6.6.41
- 6.6.42
- 6.6.43
- 6.6.44
- 6.6.45
- 6.6.46
- 6.6.47
- 6.6.48
- 6.6.49
- 6.6.50
- 6.6.51
- 6.6.52
- 6.6.53
- 6.6.54
- 6.6.55
- 6.6.56
- 6.6.57
- 6.6.58
- 6.6.59
- 6.6.60
- 6.6.61
- 6.6.62
- 6.6.63
- 6.6.64
- 6.6.65
- 6.6.66
- 6.6.67
- 6.6.68
- 6.6.69
- 6.6.70
- 6.6.71
- 6.6.72
- 6.6.73
- 6.6.74
- 6.6.75
- 6.6.76
- 6.6.77
- 6.6.78
- 6.6.79
- 6.6.80
- 6.6.81
- 6.6.82
- 6.6.83
- 6.6.84
- 6.6.85
- 6.6.86
- 6.6.87
- 6.12.0
- 6.12.1
- 6.12.2
- 6.12.3
- 6.12.4
- 6.12.5
- 6.12.6
- 6.12.7
- 6.12.8
- 6.12.9
- 6.12.10
- 6.12.11
- 6.12.12
- 6.12.13
- 6.12.14
- 6.12.15
- 6.12.16
- 6.12.17
- 6.12.18
- 6.12.19
- 6.12.20
- 6.12.21
- 6.12.22
- 6.12.23
- 6.13.0
- 6.13.1
- 6.13.2
- 6.13.3
- 6.13.4
- 6.13.5
- 6.13.6
- 6.13.7
- 6.13.8
- 6.13.9
- 6.13.10
- 6.13.11
- 6.14.0
- 6.14.1
- 6.14.2
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.1VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Infinite loopCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 237504
Nessus Name: Debian dla-4193 : linux-config-6.1 - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
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
Timeline
04/16/2025 🔍05/20/2025 🔍
05/20/2025 🔍
12/19/2025 🔍
Sources
Vendor: kernel.orgAdvisory: 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
Entry
Created: 05/20/2025 18:08Updated: 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.
No comments yet. Languages: en.
Please log in to comment.