[PATCH mm v4 16/39] kasan: define KASAN_VMALLOC_INVALID for SW_TAGS

Alexander Potapenko glider at google.com
Tue Dec 21 01:23:02 PST 2021


On Mon, Dec 20, 2021 at 11:00 PM <andrey.konovalov at linux.dev> wrote:
>
> From: Andrey Konovalov <andreyknvl at google.com>
>
> In preparation for adding vmalloc support to SW_TAGS KASAN,
> provide a KASAN_VMALLOC_INVALID definition for it.
>
> HW_TAGS KASAN won't be using this value, as it falls back onto
> page_alloc for poisoning freed vmalloc() memory.
>
> Signed-off-by: Andrey Konovalov <andreyknvl at google.com>
Reviewed-by: Alexander Potapenko <glider at google.com>



More information about the linux-arm-kernel mailing list