Re: [PATCH v2] ftrace: Fix possible use-after-free issue in ftrace_location()

From: Markus Elfring
Date: Tue Apr 16 2024 - 12:02:01 EST



> To fix it, we hold rcu lock as lookuping ftrace record, and call
> synchronize_rcu() before freeing any ftrace pages.

I suggest to convert this description into an imperative wording.

Regards,
Markus