Re: [PATCH v6 0/6] panic: fix panic_force_cpu= redirect races and NMI bypass

From: Bradley Morgan

Date: Tue Aug 18 2026 - 14:46:03 EST


On 18 August 2026 19:41:58 BST, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
wrote:
>On Tue, 18 Aug 2026 16:38:00 +0000 Bradley Morgan <include@xxxxxxxxx>
>wrote:
>
>> The panic_force_cpu= parameter redirects a panic to a specific CPU so
>> the crash kernel runs there. The redirect code in panic_try_force_cpu()
>> had two races and an NMI bypass, all found by Sashiko. This series
>> closes them and kills one more hack that the rework turned up.
>
>Thanks. Sashiko had more to say:
> https://sashiko.dev/#/patchset/20260818163806.17460-1-include@xxxxxxxxx
>
>In the first one it suggests va_copy(), but perhaps this would be
>better addressed with va_end/va_start.
>

Sashiko said there was ANOTHER bug, I might just screammm, at this point,
some sort of superhero needs to come by and suggest the fix that sashiko
likes :sob:

Thanks!