Re: [REGRESSION] mm/memcg: folio/lruvec mismatch after cgroup offline: lru_size underflow and list_del corruption (7.1)
From: Andrew Morton
Date: Wed Aug 05 2026 - 12:40:52 EST
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