7.8high
mm: list_lru: fix UAF for memory cgroup
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0a97c01cd20bb96359d8c9dedad92a061ed34e0b before 4589f77c18dd98b65f45617b6d1e95313cf6fcab, from 0a97c01cd20bb96359d8c9dedad92a061ed34e0b before 5161b48712dcd08ec427c450399d4d1483e21dea, 32d7120a499d475bc03e893c59611116279bcfb8, from 6.6.160 before 6.7, 6.8 Not affected: before 6.8, from 6.10.5 up to 6.10.*, from 6.11 up to * | CVE List |
| linux linux_kernel | from 6.8 before 6.10.5, 6.11 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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]
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mm: list_lru: corrige UAF para memoria cgroup Se supone que mem_cgroup_from_slab_obj() debe llamarse bajo rcu lock o cgroup_mutex u otros, lo que podría impedir que se libere el memcg devuelto. Solucionarlo agregando el bloqueo de lectura rcu que falta. Encontrado mediante inspección de código. [songmuchun@bytedance.com: solo tome el bloqueo rcu cuando sea necesario, según Vlastimil] Enlace: https://lkml.kernel.org/r/20240801024603.1865-1-songmuchun@bytedance.com
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-43888 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2024-43888 changed 2026-10-21 | Public domain |