{"id":"CVE-2023-52940","published":"2025-03-27T16:37:18Z","modified":"2026-05-11T19:36:08Z","title":"mm: multi-gen LRU: fix crash during cgroup migration","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: multi-gen LRU: fix crash during cgroup migration\n\nlru_gen_migrate_mm() assumes lru_gen_add_mm() runs prior to itself.  This\nisn't true for the following scenario:\n\n    CPU 1                         CPU 2\n\n  clone()\n    cgroup_can_fork()\n                                cgroup_procs_write()\n    cgroup_post_fork()\n                                  task_lock()\n                                  lru_gen_migrate_mm()\n                                  task_unlock()\n    task_lock()\n    lru_gen_add_mm()\n    task_unlock()\n\nAnd when the above happens, kernel crashes because of linked list\ncorruption (mm_struct->lru_gen.list).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00209,"percentile":0.11021,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/04448022311cebd30969d3aebdde765f1258b360","tags":[]},{"url":"https://git.kernel.org/stable/c/de08eaa6156405f2e9369f06ba5afae0e4ab3b62","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.2}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bd74fdaea146029e4fa12c6de89adbe0779348a9, < 04448022311cebd30969d3aebdde765f1258b360",">= bd74fdaea146029e4fa12c6de89adbe0779348a9, < de08eaa6156405f2e9369f06ba5afae0e4ab3b62"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"euvd":{"id":"EUVD-2023-59750","exploited":false,"provenance":"source"}}