[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210416114708.GB79779@dhcp-128-65.nay.redhat.com>
Date: Fri, 16 Apr 2021 19:47:08 +0800
From: Dave Young <dyoung@...hat.com>
To: Mike Galbraith <efault@....de>
Cc: LKML <linux-kernel@...r.kernel.org>, Baoquan He <bhe@...hat.com>,
kexec@...ts.infradead.org, x86@...nel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: x86/crash: fix crash_setup_memmap_entries() out-of-bounds access
On 04/16/21 at 01:28pm, Mike Galbraith wrote:
> On Fri, 2021-04-16 at 19:07 +0800, Dave Young wrote:
> >
> > > We're excluding two ranges, allocate the scratch space we need to do that.
> >
> > I think 1 range should be fine, have you tested 1?
>
> Have now, and vzalloc(struct_size(cmem, ranges, 1)) worked just fine.
Ok, thanks for your quick response. Care to resend and cc x86 list and
Andrew?
Andrew usually takes core kexec/kdump fixes, x86 usually go through x86
maintainer.
Thanks
Dave
Powered by blists - more mailing lists