Missing lock mode validation in Linux kernel DLM recovery
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The Linux kernel from 2.6.19 is affected. The DLM recovery path copies lock modes from rcom_lock messages sent by remote nodes into local lock state without checking that they are valid. Later LVB callback handling uses these modes as array indexes, so an unauthenticated remote attacker can cause an out-of-bounds read that affects availability (CWE is not listed in the source).
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: dlm: validate lock modes in recovery messages The DLM recovery path restores lock state from rcom_lock messages received from remote nodes. The lock modes in these messages are copied directly into the local lkb state without validating that they are within the valid DLM lock mode range. The rest of the DLM code assumes that lkb_rqmode and lkb_grmode contain valid lock modes. In particular, LVB callback handling in dlm_may_skip_callback() uses lock modes as indexes into the dlm_lvb_operations array: dlm_lvb_operations[prev_mode + 1][mode + 1] An invalid lock mode received during recovery could therefore result in an out-of-bounds read during subsequent LVB callback processing. Validate rl_rqmode and rl_grmode before storing them into the local LKB state. This preserves the lock mode invariant required by the rest of the DLM code. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
The Linux kernel is fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 and 7.4-rc1.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139770
- 2026-11-30 Alias added: GHSA-w5c2-2q76-cjcr
- 2026-12-01 CVSS score added · CNA
References
Other 7
- https://git.kernel.org/stable/c/80edda84148e11a1df4bdf3c963bebb9f1ba5d40
- https://git.kernel.org/stable/c/ead3d0eec0a7110adfccb46870e25a01cfe106e8
- https://git.kernel.org/stable/c/dddfdd527a4f015c0205578e7d397f313bdcd4b1
- https://git.kernel.org/stable/c/c0808860594e7a85c53a84be3bd3d60e79eb0064
- https://git.kernel.org/stable/c/9ae32cfbcb62a23be5e78bd73bea0d7517fa8adf
- https://git.kernel.org/stable/c/754b20172f449755816c4def9437b4c938a7c6fe
- https://git.kernel.org/stable/c/7bf1aca6d626944091a5cb218b4e487547edff0a
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139770 · CVE Program
- CVE-2026-139770 · NVD
- GHSA-w5c2-2q76-cjcr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences