mm: list_lru: fix UAF for memory cgroup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5161b48712dcd08ec427c450399d4d1483e21dea, Kernel 6.7, Kernel 4589f77c18dd98b65f45617b6d1e95313cf6fcab and 1 more.
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. [songmuchun@bytedance.com: only grab rcu lock when necessary, per Vlastimil]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.8, >=0a97c01cd20bb96359d8c9dedad92a061ed34e0b <5161b48712dcd08ec427c450399d4d1483e21dea, >=6.6.160 <6.7, =32d7120a499d475bc03e893c59611116279bcfb8, >=0a97c01cd20bb96359d8c9dedad92a061ed34e0b <4589f77c18dd98b65f45617b6d1e95313cf6fcab | 5161b48712dcd08ec427c450399d4d1483e21dea, 6.7, 4589f77c18dd98b65f45617b6d1e95313cf6fcab |
| linux-kernel: Kernel | >=6.8.0 <6.10.5, >=6.6.160 <6.7 | 6.10.5, 6.7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket