Re: [PATCH] yama: don't abuse rcu_read_lock/get_task_struct in yama_task_prctl()

From: Kees Cook
Date: Tue Mar 04 2025 - 18:53:18 EST


On Wed, 19 Feb 2025 17:14:17 +0100, Oleg Nesterov wrote:
> current->group_leader is stable, no need to take rcu_read_lock() and do
> get/put_task_struct().
>
>

Applied to for-next/hardening, thanks!

[1/1] yama: don't abuse rcu_read_lock/get_task_struct in yama_task_prctl()
https://git.kernel.org/kees/c/c6822ed5d037

Take care,

--
Kees Cook