Re: [PATCH] signal: Initialize the info in ksignal

From: Kees Cook
Date: Thu Dec 01 2022 - 18:42:46 EST


On Mon, 28 Nov 2022 06:56:06 +0000, haifeng.xu wrote:
> When handing the SIGNAL_GROUP_EXIT flag, the info in ksignal isn't cleared.
> However, the info acquired by dequeue_synchronous_signal/dequeue_signal is
> initialized and can be safely used. Fortunately, the fatal signal process
> just uses the si_signo and doesn't use any other member. Even so, the
> initialization before use is more safer.
>
>
> [...]

Applied to for-next/hardening, thanks!

[1/1] signal: Initialize the info in ksignal
https://git.kernel.org/kees/c/935d428bb528

--
Kees Cook