Skip to content
Commit 8dd4daa0 authored by Shyam Thombre's avatar Shyam Thombre Committed by Will Deacon
Browse files

arm64: mm: reset address tag set by kasan sw tagging



KASAN sw tagging sets a random tag of 8 bits in the top byte of the pointer
returned by the memory allocating functions. So for the functions unaware
of this change, the top 8 bits of the address must be reset which is done
by the function arch_kasan_reset_tag().

Signed-off-by: default avatarShyam Thombre <sthombre@codeaurora.org>
Link: https://lore.kernel.org/r/1591787384-5823-1-git-send-email-sthombre@codeaurora.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 413d3ea6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment