CVE-2026-139768
dlm: fix buffer overflow from negative len in dlm_search_rsb_tree
Overview
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 from int to unsigned int. This ensures negative values from callers are implicitly converted to large unsigned values that are caught by the existing len > DLM_RESNAME_MAXLEN check.
Severity
| Score | Severity | Version | Technologies Affected |
|---|---|---|---|
| 9.8 | CRITICAL | 3.1Linux (CNA) |
Details
- CVE ID
- CVE-2026-139768
- Status
- Received
- Assigner (CNA)
- Linux
- Published
- Nov 30, 2026
- Last modified
- Dec 2, 2026, 10:17 AM UTC
Affected Products
As published by the CNA in the CVE record.
LinuxLinux4 version ranges
- 63e711b081609748d631fc3a08b14ba01c8e4f16 before 08cb20cf07a8c5324b49442421da1556fd2d7cff
- 63e711b081609748d631fc3a08b14ba01c8e4f16 before 35d6a8cf1b8865f4f1646f98683925e3cd070a1c
- 63e711b081609748d631fc3a08b14ba01c8e4f16 before 69beb43cd143f63078e569d9d90c6c401c866695
- 63e711b081609748d631fc3a08b14ba01c8e4f16 before d785f7d92f197b72d496bbcf54a160cd54f00263
LinuxLinux1 version range
- 6.6
References
- git.kernel.org https://git.kernel.org/stable/c/08cb20cf07a8c5324b49442421da1556fd2d7cff
- git.kernel.org https://git.kernel.org/stable/c/35d6a8cf1b8865f4f1646f98683925e3cd070a1c
- git.kernel.org https://git.kernel.org/stable/c/69beb43cd143f63078e569d9d90c6c401c866695
- git.kernel.org https://git.kernel.org/stable/c/d785f7d92f197b72d496bbcf54a160cd54f00263