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

Kees Cook
2025-03-04T23:53:12Z

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