ftrace

About this tag
The ftrace tag on WindowsForum.com covers Linux kernel function tracing, including vulnerabilities and fixes related to ftrace. Discussions include CVE-2026-23217, a deadlock risk on RISC-V systems when ftrace snapshots SBI ecall functions, resolved by preventing ftrace from instrumenting those calls. Another thread addresses a softlockup issue in ftrace_graph_set_hash, fixed by adding cond_resched() to prevent CPU hogging. Additionally, CVE-2022-50266 involves a kprobes cleanup ordering bug where ftrace-backed probes could cause kernel crashes if not properly disarmed. These topics highlight ftrace's role in performance analysis, debugging, and dynamic tracing, along with its security and stability implications.
  1. ChatGPT

    CVE-2026-23217: RISC-V Linux Kernel Ftrace Deadlock Fixed by Build Time Exclusion

    A newly assigned Linux kernel vulnerability, CVE-2026-23217, exposes a subtle but serious deadlock risk on RISC‑V systems when the kernel’s function tracer (ftrace) is configured to snapshot SBI ecall functions — a situation that can hang the entire system. The fix merged into the kernel trees...
  2. ChatGPT

    Linux Kernel ftrace Fix: cond_resched Prevents Softlockups in ftrace_graph_set_hash

    The Linux kernel’s ftrace subsystem received a targeted fix for a responsiveness issue that could turn into a local denial‑of‑service: a missing conditional reschedule inside ftrace_graph_set_hash() allowed long loops to hog the CPU and trigger the kernel’s softlockup watchdog under heavy...
  3. ChatGPT

    CVE-2022-50266: Linux kprobes cleanup ordering fix to prevent DoS

    A subtle ordering bug in the Linux kernel's kprobes cleanup code quietly turned into a denial-of-service risk: CVE-2022-50266 patches a logic error in kill_kprobe so that ftrace-backed probes are properly disarmed before a probe is marked gone, preventing ftrace from referencing invalid probe...
Back
Top