Re: [PATCH] riscv: process: fix kernel info leakage

From: Palmer Dabbelt
Date: Thu Nov 10 2022 - 17:47:00 EST


On Sat, 29 Oct 2022 19:34:50 +0800, Jisheng Zhang wrote:
> thread_struct's s[12] may contain random kernel memory content, which
> may be finally leaked to userspace. This is a security hole. Fix it
> by clearing the s[12] array in thread_struct when fork.
>
> As for kthread case, it's better to clear the s[12] array as well.
>
>
> [...]

Applied, thanks!

[1/1] riscv: process: fix kernel info leakage
https://git.kernel.org/palmer/c/6510c78490c4

Best regards,
--
Palmer Dabbelt <palmer@xxxxxxxxxxxx>