Re: [PATCH] tty: sysrq: serialize sysrq_toggle_support()
From: Greg Kroah-Hartman
Date: Wed Dec 02 2026 - 04:57:26 EST
On Wed, Dec 02, 2026 at 01:23:06AM -0800, Rahul Priolkar wrote:
> Hi,
>
> Thanks for the response. Here's the patch.
>
> -- >8 --
>
> Concurrent enable-mask updates in sysrq_toggle_support() can both
> register the static SysRq input handler, corrupting input_handler_list.
Wait, this is a root-only thing, right? So just "don't do that"? :)