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

Kees Cook kees at kernel.org
Tue Mar 4 23:53:08 UTC 2025


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




More information about the Linux-security-module-archive mailing list