[PATCH] arm: kasan: clear stale stack poison

Linus Walleij linus.walleij at linaro.org
Tue Apr 2 03:32:58 PDT 2024


On Fri, Dec 22, 2023 at 3:28 AM boy.wu <boy.wu at mediatek.com> wrote:

> From: Boy Wu <boy.wu at mediatek.com>
>
> We found below OOB crash:
(...)
> We find the root cause of this OOB is that arm does not clear stale stack
> poison in the case of cpuidle.
>
> This patch refer to arch/arm64/kernel/sleep.S to resolve this issue.
>
> Signed-off-by: Boy Wu <boy.wu at mediatek.com>

With the commit context pointed out by Mark Rutland:
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the Linux-mediatek mailing list