Re: [PATCH] mm/kfence: add reboot notifier to disable KFENCE on shutdown
From: Andrew Morton
Date: Thu Nov 27 2025 - 14:19:41 EST
On Thu, 27 Nov 2025 03:12:10 -0800 Breno Leitao <leitao@xxxxxxxxxx> wrote:
> > > This fixes a late kexec CSD lockup[1] when kfence is trying to IPI a CPU
> > > that is busy in a IRQ-disabled context printing characters to the
> > > console.
> > >
> > > Link: https://lore.kernel.org/all/sqwajvt7utnt463tzxgwu2yctyn5m6bjwrslsnupfexeml6hkd@v6sqmpbu3vvu/ [1]
> >
> > 6.13 kernels and earlier, so I assume we'll want a cc:stable on this.
> > And I assume there's really no identifiable Fixes: target.
>
> This infrastructure showed up when kfence was created, so, a possible
> Fixes: target would point to commit 0ce20dd84089 ("mm: add Kernel
> Electric-Fence infrastructure")
Great, thanks, I added that.