Re: [PATCH v2] MIPS: smp: report dying CPU to RCU in stop_this_cpu()
From: Sebastian Andrzej Siewior
Date: Fri Jun 19 2026 - 03:43:40 EST
On 2026-06-08 09:37:29 [+0000], Jonas Jelonek wrote:
> smp_send_stop() parks all secondary CPUs in stop_this_cpu(). The function
> marks the CPU offline for the scheduler via set_cpu_online(false) but
> never informs RCU, so RCU keeps expecting a quiescent state from CPUs
> that are now spinning forever with interrupts disabled.
…
>
> Fixes: 91840be8f710 ("irq_work: Fix use-after-free in irq_work_single() on PREEMPT_RT")
> CC: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Jonas Jelonek <jelonek.jonas@xxxxxxxxx>
Sorry for being late.
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Sebastian