Re: double free in alternatives/retpoline
From: Peter Zijlstra
Date: Thu Jun 19 2025 - 06:54:59 EST
On Thu, Jun 19, 2025 at 11:06:53AM +0300, Mike Rapoport wrote:
> Looking more closely, there is a typo in its_alloc(), it uses CONFIG_MODULE
> to choose an its_array to reallocate while it should have been using
> CONFIG_MODULES.
>
> Lukas Bulwahn sent a fix for that:
>
> https://lore.kernel.org/all/20250616100432.22941-1-lukas.bulwahn@xxxxxxxxxx
Indeed. That fix is currently sitting in tip/x86/urgent and should make
its way to Linus soon.