In the Linux kernel, the following vulnerability has been...
Moderate severity
Unreviewed
Published
May 20, 2025
to the GitHub Advisory Database
•
Updated Dec 19, 2025
Description
Published by the National Vulnerability Database
May 20, 2025
Published to the GitHub Advisory Database
May 20, 2025
Last updated
Dec 19, 2025
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.
References