Linux Kernel Ftrace Notifier Unregistration Warning Issue

Vulnerability

A warning related to the function graph tracer's notifier registration has been addressed in the Linux kernel. This warning occurred in version 6.16 during testing, indicating that the notifier callback for suspending ftrace was already registered. The issue arose because the notifier was not properly unregistered after a previous operation failed, leading to a warning when the same interface was accessed again. The problem has been fixed by ensuring the notifier is unregistered in the event of an error.

Impact

The vulnerability could lead to a warning being generated during the use of the function profile tracing feature, indicating a potential issue with the notifiers' registration and unregistration process.

Reproduction

The warning can be reproduced by writing to the 'function_profile_enabled' interface while the 'start_graph_tracing' process has failed. This will trigger a warning about the notifier callback already being registered, highlighting the issue with the missing unregistration.

Remediation

Users can update to the latest version of the Linux kernel where this issue has been fixed. Instructions for downloading the patched version are available on the Linux kernel's official website.

Added: Sep 16, 2025, 3:26 PM
Updated: Sep 16, 2025, 3:26 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
4.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.