Linux kernel: ocfs2: validate lengths in dlm_mig_lockres_handler
Overview
In the Linux kernel, the following vulnerability has been resolved: ocfs2: validate lengths in dlm_mig_lockres_handler A node receiving a DLM_MIG_LOCKRES message trusts several fields of the peer-supplied dlm_migratable_lockres without validation. num_locks and lockname_len are bounded only on the sending side, and the message is never checked to actually carry num_locks migratable_lock entries. As a result dlm_process_recovery_data() walks mres->ml[0..num_locks) past the kmalloc(data_len) copy of the message (an out-of-bounds read that ends in a BUG_ON panic), and dlm_init_lockres() copies lockname_len bytes into the fixed 32-byte o2dlm_lockname slab object (a heap out-of-bounds write). Both are reachable by any node in the domain. Validate these fields right after dlm_grab(), before anything uses them -- including the not-joined error path, which already prints mres->lockname with the unbounded lockname_len as a %.*s precision. Reject the message unless lockname_len <= DLM_LOCKID_NAME_MAX, num_locks <= DLM_MAX_MIGRATABLE_LOCKS (the bound the sender already asserts), and the payload is large enough to hold the claimed locks. Conforming recovery and migration messages are unaffected.
- Published
- 9/11/2026
- Last modified
- 10/19/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 6714d8e86bf443f6f7af50f9d432025649f091f5, < 4a5798253212093b9ff7d90c6cfbe348bcda1594 | Verify advisory | Source |
Linux Linux | ≥ 6714d8e86bf443f6f7af50f9d432025649f091f5, < dce05b17db862f47ff60614017abe639b2e71cad | Verify advisory | Source |
Linux Linux | ≥ 6714d8e86bf443f6f7af50f9d432025649f091f5, < 0e999d56917f861f97adb961617b1828c9eb4733 | Verify advisory | Source |
Linux Linux | ≥ 6714d8e86bf443f6f7af50f9d432025649f091f5, < 77686fa5bba135252d348e2dacf481fc19f60c41 | Verify advisory | Source |
Linux Linux | ≥ 6714d8e86bf443f6f7af50f9d432025649f091f5, < f33041906885f96e190cde54e61ddc69de39e3ee | Verify advisory | Source |
Linux Linux | ≥ 6714d8e86bf443f6f7af50f9d432025649f091f5, < 50c4cc9183e11f83427efbf770f54851f4471c02 | Verify advisory | Source |
Linux Linux | ≥ 6714d8e86bf443f6f7af50f9d432025649f091f5, < a8facb1670b4a0612183198e758d9539ef628ed9 | Verify advisory | Source |
Linux Linux | ≥ 6714d8e86bf443f6f7af50f9d432025649f091f5, < b54e03d9b3697d25f4a0063cf717d459c5e3ad94 | Verify advisory | Source |
Linux Linux | 2.6.16 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.