CVE-2024-43888

mm: list_lru: fix UAF for memory cgroup

State
Published
Severity
7.8 High
Published
Aug 26, 2024
Updated
Oct 21, 2026
Reserved
Aug 17, 2024

Read the record on cve.org

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]

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0a97c01cd20bb96359d8c9dedad92a061ed34e0b to before 4589f77c18dd98b65f45617b6d1e95313cf6fcabAffected
  • 0a97c01cd20bb96359d8c9dedad92a061ed34e0b to before 5161b48712dcd08ec427c450399d4d1483e21deaAffected
  • 32d7120a499d475bc03e893c59611116279bcfb8Affected
  • 6.6.160 to before 6.7Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.10.5 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.