Re: [git pull] coredump infoleak fix

From: Ingo Molnar
Date: Fri May 29 2020 - 05:39:17 EST



* Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:

> On Thu, May 28, 2020 at 11:34:38AM -0700, Linus Torvalds wrote:
> > On Thu, May 28, 2020 at 12:03 AM Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> > >
> > > I'm wondering, shouldn't we also zero-initialize the dump data to
> > > begin with? See the patch below (untested).
> >
> > I actually got this patch from Andrew today independently due to a
> > KMSAN report. Which I'm applying.
>
> It doesn't fix all problems, though - you don't get an infoleak, but
> you do get incorrect data...

BTW., I pulled this into x86/urgent with a potential v5.7 merge,
although it's getting tight.

I think the ptrace impact qualifies it for v5.7?

Thanks,

Ingo