Re: [PATCH] fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()

Alexander Potapenko
2020-04-19T10:11:11Z

On Sun, Apr 19, 2020 at 12:08 PM <glider@google.com> 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@outlook.com>
> Signed-off-by: Alexander Potapenko <glider@google.com>

Please also include the following tag:

Link: https://github.com/google/kmsan/issues/76