CVE-2025-71125
kernel: tracing: Do not register unsupported perf events
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 14, 2026
Updated · June 28, 2026
Description
A kernel warning was found in the Linux kernel's tracing subsystem. Synthetic events do not implement perf event registration, but the code attempts to register them anyway with a NULL function pointer. This triggers a warning in tracepoint_add_func() when users try to use perf to record synthetic events (e.g., "perf record -e synthetic:futex_wait").
Statement
This issue occurs when attempting to use perf with synthetic tracepoints, which are not currently supported for perf recording. The warning is triggered by attempting an unsupported operation rather than a security vulnerability. The fix returns -ENODEV to properly indicate the operation is not supported, avoiding the warning.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-476 · NULL Pointer Dereference