ftrace: Fix regression with module command in stack_trace_filter
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 04ec7bb642b77374b53731b795b5654b5aff1c00 · < 19cacabdd5a8487ae566cbecb4d03bcb038a067e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ftrace: Fix regression with module command in stack_trace_filter
When executing the following command:
# echo "write*:mod:ext3" > /sys/kernel/tracing/stack_trace_filter
The current mod command causes a null pointer dereference. While commit 0f17976568b3f ("ftrace: Fix regression with module command in stack_trace_filter") has addressed part of the issue, it left a corner case unhandled, which still results in a kernel crash.
From the CVE record · Linux
The Linux kernel's ftrace stack_trace_filter has a null pointer dereference in a corner case of the module command. A local user able to write to the tracing filter can trigger a kernel crash with a command like the one shown in the report. No remote attack or user interaction is described.
Operators running the Linux kernel should check whether their kernel includes the fix for this ftrace issue; affected versions are not specified.