CVE-2023-52940

published 27 Mar 2025 · updated 11 May 2026

mm: multi-gen LRU: fix crash during cgroup migration

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 04448022311cebd30969d3aebdde765f1258b360 and Kernel de08eaa6156405f2e9369f06ba5afae0e4ab3b62.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.1, >=bd74fdaea146029e4fa12c6de89adbe0779348a9 <04448022311cebd30969d3aebdde765f1258b360, >=bd74fdaea146029e4fa12c6de89adbe0779348a9 <de08eaa6156405f2e9369f06ba5afae0e4ab3b6204448022311cebd30969d3aebdde765f1258b360, de08eaa6156405f2e9369f06ba5afae0e4ab3b62

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52940 severity on Zeptric[![CVE-2023-52940](https://zeptric.io/badge/cve/CVE-2023-52940.svg)](https://zeptric.io/cve/CVE-2023-52940)