Bug 2586591 (CVE-2026-139768) - CVE-2026-139768 kernel: kernel: dlm: buffer overflow via negative length in dlm_search_rsb_tree
Summary: CVE-2026-139768 kernel: kernel: dlm: buffer overflow via negative length in d...
Keywords:
Status: NEW
Alias: CVE-2026-139768
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:27 UTC by OSIDB Bzimport
Modified: 2026-12-01 01:10 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:27:49 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.