Re: [tip:x86/urgent] x86/mm: Avoid VLA in pgd_alloc()

2018-10-09 Thread Arnd Bergmann
On Tue, Oct 9, 2018 at 9:03 AM tip-bot for Kees Cook wrote: > > Commit-ID: 184d47f0fd365108bd06ab26cdb3450b716269fd > Gitweb: > https://git.kernel.org/tip/184d47f0fd365108bd06ab26cdb3450b716269fd > Author: Kees Cook > AuthorDate: Mon, 8 Oct 2018 16:54:34 -0700 > Committer: Ingo Molnar

Re: [tip:x86/urgent] x86/mm: Avoid VLA in pgd_alloc()

2018-10-09 Thread Ingo Molnar
* Joerg Roedel wrote: > Hi Arnd, > > On Tue, Oct 09, 2018 at 09:33:56AM +0200, Arnd Bergmann wrote: > > Ah, cool, thanks for the analysis. Is the patch already reverted? > > I.e. should I send a replacement patch, or a relative fix, or is > > someone else already on it? > > Kees sent a fix wh

Re: [tip:x86/urgent] x86/mm: Avoid VLA in pgd_alloc()

2018-10-09 Thread Joerg Roedel
Hi Arnd, On Tue, Oct 09, 2018 at 09:33:56AM +0200, Arnd Bergmann wrote: > Ah, cool, thanks for the analysis. Is the patch already reverted? > I.e. should I send a replacement patch, or a relative fix, or is > someone else already on it? Kees sent a fix which is already in tip-tree: https

Re: [tip:x86/urgent] x86/mm: Avoid VLA in pgd_alloc()

2018-10-09 Thread Arnd Bergmann
On Tue, Oct 9, 2018 at 1:28 AM Kees Cook wrote: > On Mon, Oct 8, 2018 at 1:22 PM, Borislav Petkov wrote: > > On Fri, Oct 05, 2018 at 09:24:53AM -0700, tip-bot for Arnd Bergmann wrote: > > > > For whatever reason - probably because it forced > > MAX_PREALLOCATED_USER_PMDS be KERNEL_PGD_PTRS and n

Re: [tip:x86/urgent] x86/mm: Avoid VLA in pgd_alloc()

2018-10-08 Thread Kees Cook
On Mon, Oct 8, 2018 at 1:22 PM, Borislav Petkov wrote: > On Fri, Oct 05, 2018 at 09:24:53AM -0700, tip-bot for Arnd Bergmann wrote: >> Commit-ID: 1be3f247c2882a82279cbcf43717581ea943b692 >> Gitweb: >> https://git.kernel.org/tip/1be3f247c2882a82279cbcf43717581ea943b692 >> Author: Arnd Ber

Re: [tip:x86/urgent] x86/mm: Avoid VLA in pgd_alloc()

2018-10-08 Thread Borislav Petkov
On Fri, Oct 05, 2018 at 09:24:53AM -0700, tip-bot for Arnd Bergmann wrote: > Commit-ID: 1be3f247c2882a82279cbcf43717581ea943b692 > Gitweb: > https://git.kernel.org/tip/1be3f247c2882a82279cbcf43717581ea943b692 > Author: Arnd Bergmann > AuthorDate: Fri, 5 Oct 2018 18:13:16 +0200 > Committe