[PATCH 1/2] ARM: entry: Do a dummy read from VMAP shadow

Linus Walleij linus.walleij at linaro.org
Mon Oct 28 15:41:53 PDT 2024


On Mon, Oct 28, 2024 at 11:39 PM Linus Walleij <linus.walleij at linaro.org> wrote:

> When switching task, in addition to a dummy read from the new
> VMAP stack, also do a dummy read from the VMAP stack's
> corresponding KASAN shadow memory to sync things up in
> the new MM context.
>
> Cc: stable at vger.kernel.org
> Fixes: a1c510d0adc6 ("ARM: implement support for vmap'ed stacks")
> Link: https://lore.kernel.org/linux-arm-kernel/a1a1d062-f3a2-4d05-9836-3b098de9db6d@foss.st.com/
> Reported-by: Clement LE GOFFIC <clement.legoffic at foss.st.com>
> Suggested-by: Ard Biesheuvel <ardb at kernel.org>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

This patch is already in the patch tracker in it's final form.

This was not supposed to go with the other patch, apologies.

Only patch 2/2 is new material.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list