mm: list_lru: fix UAF for memory cgroup
CVE-2024-43888 · published 26 Aug 2024
How serious is it
- Severity: high, CVSS score 7.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2024-43888?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Linux Linux: 0a97c01cd20bb96359d8c9dedad92a061ed34e0b to < 4589f77c18dd98b65f45617b6d1e95313cf6fcab, 0a97c01cd20bb96359d8c9dedad92a061ed34e0b to < 5161b48712dcd08ec427c450399d4d1483e21dea, 32d7120a499d475bc03e893c59611116279bcfb8, 6.6.160 to < 6.7
- Linux Linux: 6.8
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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]
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- git.kernel.org/stable/c/4589f77c18dd98b65f45617b6d1e95313cf6fcab
- git.kernel.org/stable/c/5161b48712dcd08ec427c450399d4d1483e21dea
Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON