[PATCH] arm64: fix KASAN_INLINE

Will Deacon will at kernel.org
Tue Jul 19 12:56:54 PDT 2022


On Wed, 13 Jul 2022 15:09:49 +0100, Mark Rutland wrote:
> Since commit:
> 
>   a004393f45d9a55e ("arm64: idreg-override: use early FDT mapping in ID map")
> 
> Kernels built with KASAN_INLINE=y die early in boot before producing any
> console output. This is because the accesses made to the FDT (e.g. in
> generic string processing functions) are instrumented with KASAN, and
> with KASAN_INLINE=y any access to an address in TTBR0 results in a bogus
> shadow VA, resulting in a data abort.
> 
> [...]

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

[1/1] arm64: fix KASAN_INLINE
      https://git.kernel.org/arm64/c/c2cbc16df707

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list