Re: [PATCH AUTOSEL 4.14 72/72] string.h: fix incompatibility between FORTIFY_SOURCE and KASAN

From: Greg KH
Date: Tue Jun 09 2020 - 07:54:12 EST


On Tue, Jun 09, 2020 at 01:20:25PM +0200, Pavel Machek wrote:
> On Tue 2020-06-09 09:46:08, Daniel Axtens wrote:
> > Hi Sasha,
> >
> > There's nothing inherently wrong with these patches being backported,
> > but they fix a bug that doesn't cause a crash and only affects debug
> > kernels compiled with KASAN and FORTIFY_SOURCE. Personally I wouldn't
> > change a core header file in a stable kernel for that. Perhaps I'm too
> > risk-averse.
>
> You are in agreement with existing documentation -- stable is only for
> serious bugs.

No, lots of people run KASAN on those kernels when they are testing
their devices, this patch is fine.

thanks,

greg k-h