CVE-2024-43888

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux0a97c01cd20bb96359d8c9dedad92a061ed34e0b < 4589f77c18dd98b65f45617b6d1e95313cf6fcabaffected
LinuxLinux0a97c01cd20bb96359d8c9dedad92a061ed34e0b < 5161b48712dcd08ec427c450399d4d1483e21deaaffected
LinuxLinux6.8affected
LinuxLinux0 < 6.8unaffected
LinuxLinux6.10.5 <= 6.10.*unaffected
LinuxLinux6.11 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References