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

7.8 CVSS

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.

[[email protected]: only grab rcu lock when necessary, per Vlastimil]

Classification

CVE ID: CVE-2024-43888

CVSS Base Severity: HIGH

CVSS Base Score: 7.8

Affected Products

Vendor: Linux

Product: Linux, Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.04% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-43888
https://git.kernel.org/stable/c/4589f77c18dd98b65f45617b6d1e95313cf6fcab
https://git.kernel.org/stable/c/5161b48712dcd08ec427c450399d4d1483e21dea

Timeline