Re: [REGRESSION] mm/memcg: folio/lruvec mismatch after cgroup offline: lru_size underflow and list_del corruption (7.1)
From: Shakeel Butt
Date: Wed Aug 05 2026 - 13:28:30 EST
On Wed, Aug 05, 2026 at 09:35:22AM -0700, Andrew Morton wrote:
> On Wed, 05 Aug 2026 14:03:03 +0200 (CEST) Karl Erik Hofseth <karl.e.hofseth@xxxxxxxxxx> wrote:
>
> > The following KASAN slab-use-after-free comes from a Fedora debug kernel
> > build of 7.1.6 with de4660898b7a applied on top, provoked with the
> > attached script. Further down are OOPSes generated by workloads in
> > production on stock Fedora kernels. MGLRU on/off makes no difference.
>
> Thanks. It does appear to be a race between migration and memcg
> removal.
>
> Gemini provides some thoughts, although I've found these AI crash
> interpretations to be a bit unreliable.
>
> https://share.gemini.google/Y6dMvOlHIFuV
I am looking into the issue and will report back.