Re: [PATCH] kasan: turn off -fsanitize-address-use-after-scope for now

From: Arnd Bergmann
Date: Wed Nov 23 2016 - 03:50:11 EST


On Wednesday, November 23, 2016 11:25:49 AM CET Andrey Ryabinin wrote:
>
> We have implementation for this feature:
> "[PATCH] kasan: support use-after-scope detection" - http://lkml.kernel.org/r/<1479226045-145148-1-git-send-email-dvyukov@xxxxxxxxxx>
> and given how simple it is I'd suggest to just backport implementation.
>
> BTW, we also need "[PATCH] kasan: update kasan_global for gcc 7" - http://lkml.kernel.org/r/<1479219743-28682-1-git-send-email-dvyukov@xxxxxxxxxx>
> in v4.0+ stable.

Ah, good. What's the plan for this patch? Would you still expect to
see that merged into v4.9, or get backported later once it's part of v4.10?

Either way, you proabably want a Cc:stable tag on it to trigger the
backport to older kernels.

Arnd