[PATCH 00/35] kasan: add hardware tag-based mode for arm64

Derrick McKee derrick.mckee at gmail.com
Tue Sep 15 13:51:20 EDT 2020


On 9/15/20 5:46 AM, Derrick McKee wrote:
> This seems to work, as the tags change appropriately. So I guess I need 
> to figure out what I am doing differently.  Thanks for the help.

The problem was that the kernel uses the PAGE_KERNEL flag when 
allocating memory for modules, and the solution was to change that to 
PAGE_KERNEL_TAGGED.  It might be worth adding this new flag to the 
documentation somewhere.



More information about the linux-arm-kernel mailing list