CVE-2025-37940
Linux Kernel ftrace Softlockup Watchdog Remote Code Execution
Description
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.
INFO
Published Date :
May 20, 2025, 4:15 p.m.
Last Modified :
May 21, 2025, 8:25 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-37940
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-37940
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-37940
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 20, 2025
Action Type Old Value New Value Added Description 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. Added Reference https://git.kernel.org/stable/c/1fce9574b9d515bcb8a75379a8053e18602424e3 Added Reference https://git.kernel.org/stable/c/42ea22e754ba4f2b86f8760ca27f6f71da2d982c Added Reference https://git.kernel.org/stable/c/4429535acab750d963fdc3dfcc9e0eee42f4d599 Added Reference https://git.kernel.org/stable/c/5d336ac215e5c76e43ef4bca9ba699835e53e2fd Added Reference https://git.kernel.org/stable/c/618655d54c5f8af5d57b77491d08c0f0ff77d114 Added Reference https://git.kernel.org/stable/c/72be43ff061a889c6ee648a330a42486cafa15a6 Added Reference https://git.kernel.org/stable/c/8dd7d7280357596ba63dfdb4c1725d9dd24bd42a Added Reference https://git.kernel.org/stable/c/dd38803c9088b848c6b56f4f6d7efc4497bfde61 Added Reference https://git.kernel.org/stable/c/e5b4ae6f01d4a510d5725eca7254519a1093920d
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-37940
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-37940
weaknesses.