On 05/06/2023 4:01 pm, Alejandro Vallejo wrote:
> microcode_update_helper() may return early while holding
> cpu_add_remove_lock, hence preventing any writers from taking it again.
>
> Leave through the `put` label instead so it's properly released.

Fixes: 5ed12565aa32 ("microcode: rendezvous CPUs in NMI handler and load
ucode")

> Signed-off-by: Alejandro Vallejo <[email protected]>

Reviewed-by: Andrew Cooper <[email protected]>

I'll add the fixes on commit.

~Andrew

Reply via email to