[PATCH v2 0/4] kasan: Fix ordering between MTE tag colouring and page->flags
Will Deacon
will at kernel.org
Thu Jul 7 03:33:23 PDT 2022
On Fri, 10 Jun 2022 16:21:37 +0100, Catalin Marinas wrote:
> That's a second attempt on fixing the race race between setting the
> allocation (in-memory) tags in a page and the corresponding logical tag
> in page->flags. Initial version here:
>
> https://lore.kernel.org/r/20220517180945.756303-1-catalin.marinas@arm.com
>
> This new series does not introduce any new GFP flags but instead always
> skips unpoisoning of the user pages (we already skip the poisoning on
> free). Any unpoisoned page will have the page->flags tag reset.
>
> [...]
Applied to arm64 (for-next/mte), thanks!
[1/4] mm: kasan: Ensure the tags are visible before the tag in page->flags
https://git.kernel.org/arm64/c/ed0a6d1d973e
[2/4] mm: kasan: Skip unpoisoning of user pages
https://git.kernel.org/arm64/c/70c248aca9e7
[3/4] mm: kasan: Skip page unpoisoning only if __GFP_SKIP_KASAN_UNPOISON
https://git.kernel.org/arm64/c/6d05141a3930
[4/4] arm64: kasan: Revert "arm64: mte: reset the page tag in page->flags"
https://git.kernel.org/arm64/c/20794545c146
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list