CVE-2026-139768: Linux
AI-assisted summary built from NVD and CISA data. Verify against the linked sources before acting.
Summary
In the Linux kernel’s DLM, dlm_search_rsb_tree only checks that len is not above the maximum, so a negative len passes and becomes a huge size_t in memcpy(). This causes a stack buffer overflow on the key[] array.
Impact: stack buffer overflow (potential code execution or crash)
Affected technologies
- Linux kernel (DLM component)
Recommended action
Update to a kernel version containing the fix, which changes the len parameter to an unsigned type, and disable DLM if unused.
Details
| CVSS | 9.8 (Critical) |
| Vendor / product | Linux |
| Published | 2026-11-30 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Original description
In the Linux kernel, the following vulnerability has been resolved: dlm: fix buffer overflow from negative len in dlm_search_rsb_tree commit 080e5563f878c (“dlm: validate length in dlm_search_rsb_tree”) only checks for len > DLM_RESNAME_MAXLEN, which does not catch negative values. While the input ‘len’ can be negative and a negative int passed to memcpy() is implicitly converted to a large size_t, causing a stack buffer overflow on the key[] array. Fix this by changing the ‘len’ parameter type
References
- NVD record
- https://git.kernel.org/stable/c/08cb20cf07a8c5324b49442421da1556fd2d7cff
- https://git.kernel.org/stable/c/35d6a8cf1b8865f4f1646f98683925e3cd070a1c
- https://git.kernel.org/stable/c/69beb43cd143f63078e569d9d90c6c401c866695
- https://git.kernel.org/stable/c/d785f7d92f197b72d496bbcf54a160cd54f00263