CVE-2026-139519: dlm: validate node weights before building member array
dlm: validate node weights before building member array
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
Reject negative node weights at the configfs input boundary and propagate member-array construction errors to the recovery path.
Event History
Frequently Asked Questions
What access does an attacker need to trigger this issue?
The attacker needs the ability to supply DLM node weights through the configfs input. Exploitation relies on configuring a negative weight alongside positive weights so that allocation size is smaller than the number of member-array writes.
What is the practical impact of a successful trigger?
A crafted weight combination can cause a slab out-of-bounds write in the DLM recovery path, specifically while dlm_recover_members builds the member array. The reported reproducer triggered KASAN during execution of the dlm_recoverd kernel thread.
What configuration values indicate exposure?
Any negative DLM node weight accepted through configfs is unsafe. Large non-negative weights can also be problematic if their cumulative total overflows the signed allocation count.
What should be done if the kernel update cannot be applied immediately?
Do not permit negative DLM node weights in configfs, and ensure configured non-negative weights cannot cumulatively overflow the signed allocation count. Restrict access to the configuration interface to trusted administrators.