High · published August 26, 2024
In the Linux kernel, the following vulnerability has been resolved:
mm: list_lru: fix UAF for memory cgroup
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.
Found by code inspection.
[[email protected]: only grab rcu lock when necessary, per Vlastimil]
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 6.8, < 6.10.5 | 6.10.5 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |