Re: drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size of 1108 bytes is larger than 1024 bytes

From: Emese Revfy
Date: Tue Oct 18 2016 - 18:17:46 EST


On Tue, 18 Oct 2016 15:05:39 -0700
Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> On Tue, Oct 18, 2016 at 2:36 PM, Emese Revfy <re.emese@xxxxxxxxx> wrote:
> > On Tue, 18 Oct 2016 13:57:35 -0700
> > Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> >
> >> This is controlled by CONFIG_FRAME_WARN. I don't think this is a
> >> particular problem or should be avoided, but perhaps we can set the
> >> default to 2048 (as done on 64BIT) if we're building with the entropy
> >> plugin.
> >
> > This is probably a gcc code generation bug on i386 when a plugin uses too many 64 bit variables
> > so I think PaX Team's patch will be the best solution.
>
> Okay, cool. If you're able, please CC me with the fix when it happens. :)

This is the plugin side fix:
https://github.com/ephox-gcc-plugins/latent_entropy/commit/12776eab89861239d5194a9241a98e48e3b3e8ae

The kernel side fix will be released in PaX for linux 4.8.

--
Emese