KernelScan.io

CRITICAL

dlm ResName Overflow

CVE-2026-43125

CVSS 9.8 / 10.0 NVD

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

KernelScan AI8.9HIGH

01

In the Linux kernel, the following vulnerability has been resolved: dlm: validate length in dlm_search_rsb_tree The len parameter in dlm_dump_rsb_name() is not validated and comes from network messages. When it exceeds DLM_RESNAME_MAXLEN, it can cause out-of-bounds write in dlm_search_rsb_tree(). Add length validation to prevent potential buffer overflow.

02

Engine v0.2.0

Risk summary

Remote attackers can send malformed DLM cluster messages with oversized resource names to trigger kernel buffer overflows. This affects systems running DLM clustering services and can lead to kernel memory corruption or system crashes.

Affectedfs/dlm/lock.c (Distributed Lock Manager)

Vulnerability analysis

The dlm_search_rsb_tree() function copies network-supplied resource names into a fixed-size stack buffer without validating the length parameter. When the length exceeds DLM_RESNAME_MAXLEN, memcpy writes beyond buffer boundaries causing kernel memory corruption. The fix adds a simple bounds check before the copy operation. This is network-reachable through DLM cluster protocol messages and requires no authentication in typical configurations.

03

BranchFixed inPatch commit
6.126.12.7567288113c5e6
6.186.18.16082083c9fbd9
6.196.19.65f053a2e7209
mainline7.0080e5563f878