On Mon, Oct 28, 2024 at 11:39 PM Linus Walleij linus.walleij@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@vger.kernel.org Fixes: a1c510d0adc6 ("ARM: implement support for vmap'ed stacks") Link: https://lore.kernel.org/linux-arm-kernel/a1a1d062-f3a2-4d05-9836-3b098de9db6... Reported-by: Clement LE GOFFIC clement.legoffic@foss.st.com Suggested-by: Ard Biesheuvel ardb@kernel.org Signed-off-by: Linus Walleij linus.walleij@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