On Thu, 20 Apr 2023 14:09:45 -0700, Peter Collingbourne wrote:
Consider the following sequence of events:
- A page in a PROT_READ|PROT_WRITE VMA is faulted.
- 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.
- 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,