Re: [PATCH] arm64: Fix KASAN random tag seed initialization
From: Catalin Marinas
Date: Thu Aug 15 2024 - 06:41:31 EST
On Wed, 14 Aug 2024 02:09:53 -0700, Samuel Holland wrote:
> Currently, kasan_init_sw_tags() is called before setup_per_cpu_areas(),
> so per_cpu(prng_state, cpu) accesses the same address regardless of the
> value of "cpu", and the same seed value gets copied to the percpu area
> for every CPU. Fix this by moving the call to smp_prepare_boot_cpu(),
> which is the first architecture hook after setup_per_cpu_areas().
>
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: Fix KASAN random tag seed initialization
https://git.kernel.org/arm64/c/f75c235565f9
--
Catalin