CVE-2023-53614
MEDIUMLinux Kernel 6.1-6.1.21, 6.2-6.2.8, <6.3 - Race Condition in KSM VMA Iteration
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: mm/ksm: fix race with VMA iteration and mm_struct teardown exit_mmap() will tear down the VMAs and maple tree with the mmap_lock held in write mode. Ensure that the maple tree is still valid by checking ksm_test_exit() after taking the mmap_lock in read mode, but before the for_each_vma() iterator dereferences a destroyed maple tree. Since the maple tree is destroyed, the flags telling lockdep to check an external lock has been cleared. Skip the for_each_vma() iterator to avoid dereferencing a maple tree without the external lock flag, which would create a lockdep warning.
References (3)
Core 3
Scores
CVSS v3
4.7
EPSS
0.0010
EPSS Percentile
0.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-362
Status
published
Products (10)
Linux/Linux
< 6.1
Linux/Linux
6.1
Linux/Linux
6.1.22 - 6.1.*
Linux/Linux
6.2.9 - 6.2.*
Linux/Linux
6.3
Linux/Linux
a5f18ba0727656bd1fe3bcdb0d563f81790f9a04 - 286b0cab31bac29960e5684f6fb331d42f03b363
Linux/Linux
a5f18ba0727656bd1fe3bcdb0d563f81790f9a04 - 6db504ce55bdbc575723938fc480713c9183f6a2
Linux/Linux
a5f18ba0727656bd1fe3bcdb0d563f81790f9a04 - b4f664ffd8f78c05a1fd542a28bc5a11e994c014
linux/linux_kernel
6.3 rc1 (3 CPE variants)
linux/linux_kernel
6.1 - 6.1.22
Published
Oct 04, 2025
Tracked Since
Feb 18, 2026