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)

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

← Threat intelligence dashboard