Messages in this thread | | | From | Kees Cook <> | Subject | Re: [PATCH] signal: Initialize the info in ksignal | Date | Thu, 1 Dec 2022 15:42:28 -0800 |
| |
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
| |