What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.10.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-43888 or the next vulnerability affects your stack