[PATCH] arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
Will Deacon
will at kernel.org
Tue Mar 9 15:38:29 GMT 2021
On Mon, 8 Mar 2021 17:10:23 +0100, Andrey Konovalov wrote:
> When CONFIG_DEBUG_VIRTUAL is enabled, the default page_to_virt() macro
> implementation from include/linux/mm.h is used. That definition doesn't
> account for KASAN tags, which leads to no tags on page_alloc allocations.
>
> Provide an arm64-specific definition for page_to_virt() when
> CONFIG_DEBUG_VIRTUAL is enabled that takes care of KASAN tags.
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
https://git.kernel.org/arm64/c/86c83365ab76
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list