Re: [PATCH mm v10 26/42] arm64: mte: Reset the page tag in page->flags

2020-11-14 Thread Catalin Marinas
On Fri, Nov 13, 2020 at 11:15:54PM +0100, Andrey Konovalov wrote: > From: Vincenzo Frascino > > The hardware tag-based KASAN for compatibility with the other modes > stores the tag associated to a page in page->flags. > Due to this the kernel faults on access when it allocates a page with an >

[PATCH mm v10 26/42] arm64: mte: Reset the page tag in page->flags

2020-11-13 Thread Andrey Konovalov
From: Vincenzo Frascino The hardware tag-based KASAN for compatibility with the other modes stores the tag associated to a page in page->flags. Due to this the kernel faults on access when it allocates a page with an initial tag and the user changes the tags. Reset the tag associated by the