Not scored
ftrace: Fix softlockup in ftrace_module_enable
- Severity
- Not scored
- Exploit likelihood
- 0.22% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ftrace: Fix softlockup in ftrace_module_enable A soft lockup was observed when loading amdgpu module. If a module has a lot of tracable functions, multiple calls to kallsyms_lookup can spend too much time in RCU critical section and with disabled preemption, causing kernel panic. This is the same issue that was fixed in commit d0b24b4e91fc ("ftrace: Prevent RCU stall on PREEMPT_VOLUNTARY kernels") and commit 42ea22e754ba ("ftrace: Add cond_resched() to ftrace_graph_set_hash()"). Fix it the same way by adding cond_resched() in ftrace_module_enable.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b7ffffbb46f205e7727a18bcc7a46c3c2b534f7c before a1dd0abd741a8111260676da729825d6c1461a71, from b7ffffbb46f205e7727a18bcc7a46c3c2b534f7c before e81e6d6d99b16dae11adbeda5c996317942a940c, from b7ffffbb46f205e7727a18bcc7a46c3c2b534f7c before 40c8ee40e48a2c82c762539952ed8fc0571db5bf, from b7ffffbb46f205e7727a18bcc7a46c3c2b534f7c before 7e3c96010ade29bb340a5bdce8675f50c7f59001, from b7ffffbb46f205e7727a18bcc7a46c3c2b534f7c before 4099b98203d6b33d990586542fa5beee408032a3, 4.5 Not affected: before 4.5, from 6.1.159 up to 6.1.*, from 6.6.117 up to 6.6.*, from 6.12.58 up to 6.12.*, from 6.17.8 up to 6.17.*, from 6.18 up to * | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ftrace: Fix softlockup in ftrace_module_enable A soft lockup was observed when loading amdgpu module. If a module has a lot of tracable functions, multiple calls to kallsyms_lookup can spend too much time in RCU critical section and with disabled preemption, causing kernel panic. This is the same issue that was fixed in commit d0b24b4e91fc ("ftrace: Prevent RCU stall on PREEMPT_VOLUNTARY kernels") and commit 42ea22e754ba ("ftrace: Add cond_resched() to ftrace_graph_set_hash()"). Fix it the same way by adding cond_resched() in ftrace_module_enable.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ftrace: Corrección de softlockup en ftrace_module_enable Se observó un soft lockup al cargar el módulo amdgpu. Si un módulo tiene muchas funciones rastreables, múltiples llamadas a kallsyms_lookup pueden pasar demasiado tiempo en la sección crítica de RCU y con la preemption deshabilitada, causando un pánico del kernel. Este es el mismo problema que se solucionó en el commit d0b24b4e91fc ('ftrace: Evitar el bloqueo de RCU en kernels PREEMPT_VOLUNTARY') y el commit 42ea22e754ba ('ftrace: Añadir cond_resched() a ftrace_graph_set_hash()'). Se soluciona de la misma manera añadiendo cond_resched() en ftrace_module_enable.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68173 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-68173 changed 2026-10-14 | Public domain |