Re: [PATCH] fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()
From: Alexander Potapenko
Date: Sun Apr 19 2020 - 06:11:11 EST
On Sun, Apr 19, 2020 at 12:08 PM <glider@xxxxxxxxxx> wrote:
>
> KMSAN reported uninitialized data being written to disk when dumping
> core. As a result, several kilobytes of kmalloc memory may be written to
> the core file and then read by a non-privileged user.
>
> Reported-by: sam <sunhaoyl@xxxxxxxxxxx>
> Signed-off-by: Alexander Potapenko <glider@xxxxxxxxxx>
Please also include the following tag:
Link: https://github.com/google/kmsan/issues/76