CVE Catalog

CVE-2026-139768

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.26%

71th percentile - higher than 71% of all known CVEs

Summary

In the Linux kernel, dlm_search_rsb_tree() only checks len > DLM_RESNAME_MAXLEN, which does not catch negative values. A negative len passed to memcpy() is implicitly converted to a large size_t, causing a stack buffer overflow on the key[] array. The fix changes the len parameter type from int to unsigned int.

Risk Assessment

A caller with a negative length can trigger a kernel stack buffer overflow, potentially leading to code execution or a system crash. Exploitation requires access to the DLM function from within the kernel.

Recommendation

Update the Linux kernel to a version containing the change of the len parameter type to unsigned int in dlm_search_rsb_tree().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS