Re: [PATCH] net: bmac: Fix stack corruption panic in bmac_probe()
From: Benjamin Herrenschmidt
Date: Tue May 19 2020 - 05:20:00 EST
On Tue, 2020-05-19 at 08:59 +0800, Jeremy Kerr wrote:
> Hi Stan,
>
> > The new kernel compiled and booted with no errors, with these
> > STACKPROTECTOR options in .config (the last two revealed the bug):
> >
> > CONFIG_HAVE_STACKPROTECTOR=y
> > CONFIG_CC_HAS_STACKPROTECTOR_NONE=y
> > CONFIG_STACKPROTECTOR=y
> > CONFIG_STACKPROTECTOR_STRONG=y
>
> Brilliant, thanks for testing. I'll send a standalone patch to
> netdev.
Nice catch :-) Lots of people used these machines for years without
noticing :-) .... Granted most people used newer generation stuff with
a gmac instead.
Cheers,
Ben.