Re: [PATCH] mm: list_lru: fix UAF for memory cgroup
From: Andrew Morton
Date: Wed Jul 31 2024 - 16:28:34 EST
On Thu, 18 Jul 2024 16:36:07 +0800 Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
> The mem_cgroup_from_slab_obj() is supposed to be called under rcu
> lock or cgroup_mutex or others which could prevent returned memcg
> from being freed. Fix it by adding missing rcu read lock.
>
Well I grabbed this, but the review led me to expect a v2.
Should it have cc:stable?