Re: [PATCH v2] arm: kasan: clear stale stack poison

From: Boy Wu (吳勃誼)
Date: Mon Apr 29 2024 - 03:52:34 EST


On Sun, 2024-04-28 at 15:45 +0100, Russell King (Oracle) wrote:
> On Fri, Apr 12, 2024 at 10:37:06AM +0200, Linus Walleij wrote:
> > On Wed, Apr 10, 2024 at 9:31 AM boy.wu <boy.wu@xxxxxxxxxxxx> wrote:
> >
> > > From: Boy Wu <boy.wu@xxxxxxxxxxxx>
> > >
> > > We found below OOB crash:
> >
> > Thanks for digging in!
> >
> > Pleas put this patch into Russell's patch tracker so he can apply
> it:
> > https://www.armlinux.org.uk/developer/patches/
>
> Is this a bug fix? If so, having a Fixes: tag would be nice...
>

This is a patch for cpuidle flow when KASAN enable, that is in ARM64
but not in ARM, so add to ARM.

The reference commits did not mention fix any commits.
[1] commit 0d97e6d8024c ("arm64: kasan: clear stale stack poison")
[2] commit d56a9ef84bd0 ("kasan, arm64: unpoison stack only with
CONFIG_KASAN_STACK")