Re: KASAN+netlink, was: [PATCH] [net-next?] hns: avoid stack overflow with CONFIG_KASAN
From: Johannes Berg
Date: Wed Feb 08 2017 - 07:52:05 EST
On Wed, 2017-02-08 at 13:03 +0100, Arnd Bergmann wrote:
>
> - Moving nla_put_{u8,u16,u32} out of line is probably uncontroversial
> and
> Â it helps enough with br_netlink.c, but nl820211 is worse and needs
> some
> Â additional fiddling.
Why would that not be sufficient by itself for nl80211?
Btw, what's causing this to start with? Can't the compiler reuse the
stack places?
johannes