[PATCH] arm64: Mitigate MTE issues with str{n}cmp()

Catalin Marinas catalin.marinas at arm.com
Tue Sep 21 09:53:42 PDT 2021


On Fri, 17 Sep 2021 15:59:30 +0100, Robin Murphy wrote:
> As with strlen(), the patches importing the updated str{n}cmp()
> implementations were originally developed and tested before the
> advent of CONFIG_KASAN_HW_TAGS, and have subsequently revealed
> not to be MTE-safe. Since in-kernel MTE is still a rather niche
> case, let it temporarily fall back to the generic C versions for
> correctness until we can figure out the best fix.

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: Mitigate MTE issues with str{n}cmp()
      https://git.kernel.org/arm64/c/59a68d413808

-- 
Catalin




More information about the linux-arm-kernel mailing list