{"id":"CVE-2023-53614","published":"2025-10-04T15:44:21Z","modified":"2026-05-11T19:48:33Z","title":"mm/ksm: fix race with VMA iteration and mm_struct teardown","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/ksm: fix race with VMA iteration and mm_struct teardown\n\nexit_mmap() will tear down the VMAs and maple tree with the mmap_lock held\nin write mode.  Ensure that the maple tree is still valid by checking\nksm_test_exit() after taking the mmap_lock in read mode, but before the\nfor_each_vma() iterator dereferences a destroyed maple tree.\n\nSince the maple tree is destroyed, the flags telling lockdep to check an\nexternal lock has been cleared.  Skip the for_each_vma() iterator to avoid\ndereferencing a maple tree without the external lock flag, which would\ncreate a lockdep warning.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00108,"percentile":0.01195,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/286b0cab31bac29960e5684f6fb331d42f03b363","tags":[]},{"url":"https://git.kernel.org/stable/c/b4f664ffd8f78c05a1fd542a28bc5a11e994c014","tags":[]},{"url":"https://git.kernel.org/stable/c/6db504ce55bdbc575723938fc480713c9183f6a2","tags":[]}],"priority":{"score":0.2,"factors":[{"name":"EPSS percentile","points":0.24}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a5f18ba0727656bd1fe3bcdb0d563f81790f9a04, < 286b0cab31bac29960e5684f6fb331d42f03b363",">= a5f18ba0727656bd1fe3bcdb0d563f81790f9a04, < b4f664ffd8f78c05a1fd542a28bc5a11e994c014",">= a5f18ba0727656bd1fe3bcdb0d563f81790f9a04, < 6db504ce55bdbc575723938fc480713c9183f6a2"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"euvd":{"id":"EUVD-2025-32268","exploited":false,"provenance":"source"}}