[PATCH] arm64: Also reset KASAN tag if page is not PG_mte_tagged
Will Deacon
will at kernel.org
Tue May 16 08:14:42 PDT 2023
On Thu, 20 Apr 2023 14:09:45 -0700, Peter Collingbourne wrote:
> Consider the following sequence of events:
>
> 1) A page in a PROT_READ|PROT_WRITE VMA is faulted.
> 2) Page migration allocates a page with the KASAN allocator,
> causing it to receive a non-match-all tag, and uses it
> to replace the page faulted in 1.
> 3) The program uses mprotect() to enable PROT_MTE on the page faulted in 1.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: Also reset KASAN tag if page is not PG_mte_tagged
https://git.kernel.org/arm64/c/2efbafb91e12
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list