CVE-2023-53614
publishedmm/ksm: fix race with VMA iteration and mm_struct teardown
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa5f18ba0727656bd1fe3bcdb0d563f81790f9a04 to < 286b0cab31bac29960e5684f6fb331d42f03b363 · a5f18ba0727656bd1fe3bcdb0d563f81790f9a04 to < b4f664ffd8f78c05a1fd542a28bc5a11e994c014 · a5f18ba0727656bd1fe3bcdb0d563f81790f9a04 to < 6db504ce55bdbc575723938fc480713c9183f6a2 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.22 through 6.1.* (unaffected · semver) · 6.2.9 through 6.2.* (unaffected · semver) · 6.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a5f18ba0727656bd1fe3bcdb0d563f81790f9a04 to < 286b0cab31bac29960e5684f6fb331d42f03b363 (affected · git)a5f18ba0727656bd1fe3bcdb0d563f81790f9a04 to < b4f664ffd8f78c05a1fd542a28bc5a11e994c014 (affected · git)a5f18ba0727656bd1fe3bcdb0d563f81790f9a04 to < 6db504ce55bdbc575723938fc480713c9183f6a2 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.22 through 6.1.* (unaffected · semver)6.2.9 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
mm/ksm: fix race with VMA iteration and mm_struct teardown
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c98e920a5669d89a9c1570fcddcc19dda6a0d313a5ab6ab42856684d0dd7b81
- Ingested
- 23 Sep 2026, 08:14:56 UTC
- Source record
- Official CVE record