# CVE-2024-43888: mm: list_lru: fix UAF for memory cgroup

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-08-26T10:10:40.890Z
- Modified: 2026-10-21T13:17:47.207Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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]

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.8 before 6.10.5; 6.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/4589f77c18dd98b65f45617b6d1e95313cf6fcab> (patch)
- <https://git.kernel.org/stable/c/5161b48712dcd08ec427c450399d4d1483e21dea> (patch)

## Sources

- CVE List: [CVE-2024-43888](https://www.cve.org/CVERecord?id=CVE-2024-43888), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2024-43888](https://nvd.nist.gov/vuln/detail/CVE-2024-43888), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2024-43888 · Whole record: https://cve.day/CVE-2024-43888.json · Rebuilt by cve.day 2026-11-25T22:58:44.735Z
