What’s Vulnerable › Vulnerabilities
CVE-2023-52940: mm: multi-gen LRU: fix crash during cgroup migration
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-27 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: mm: multi-gen LRU: fix crash during cgroup migration lru_gen_migrate_mm() assumes lru_gen_add_mm() runs prior to itself. This isn't true for the following scenario: CPU 1 CPU 2 clone() cgroup_can_fork() cgroup_procs_write() cgroup_post_fork() task_lock() lru_gen_migrate_mm() task_unlock() task_lock() lru_gen_add_mm() task_unlock() And when the above happens, kernel crashes because of linked list corruption (mm_struct->lru_gen.list).
Affected products
- Linux kernel: from 6.1 before 6.1.11; 6.2-rc1, 6.2-rc2, 6.2-rc3, 6.2-rc4, 6.2-rc5, 6.2-rc6 — fixed in 6.1.11
How to fix
Upgrade to a fixed version: Linux kernel 6.1.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/04448022311cebd30969d3aebdde765f1258b360
- https://git.kernel.org/stable/c/de08eaa6156405f2e9369f06ba5afae0e4ab3b62
Get alerted when CVE-2023-52940 or the next vulnerability affects your stack