CVE-2026-139768

critical

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 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.

References

https://git.kernel.org/stable/c/d785f7d92f197b72d496bbcf54a160cd54f00263

https://git.kernel.org/stable/c/69beb43cd143f63078e569d9d90c6c401c866695

https://git.kernel.org/stable/c/35d6a8cf1b8865f4f1646f98683925e3cd070a1c

https://git.kernel.org/stable/c/08cb20cf07a8c5324b49442421da1556fd2d7cff

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-139474

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical