dlm: fix buffer overflow from negative len in dlm_search_rsb_tree
CVE-2026-139768
Key Information:
- Vendor
Linux
- Status
- CVE ID
- CVE ID:
- CVE-2026-139768
- Vendor
- CVE Published:
- 30 November 2026
- Fixed in
- Fixed in:
- 6.12.119, 6.18.65, 7.3.6 +1 more
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
Several version ranges are affected; the full list is under Affected Version(s).
Install the Linux release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Linux. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.8).
What is CVE-2026-139768?
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.
Affected Version(s)
Linux 63e711b08160… < 08cb20cf07a8…
Linux 63e711b08160… < 35d6a8cf1b88…
Linux 63e711b08160… < 69beb43cd143…
References
More Linux Vulnerabilities
Memory Ordering Flaw in Linux Kernel
Linux Kernel Vulnerability in SCTP Control Chunk Migration
Data Copy Vulnerability in Linux Kernel
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction