dlm: fix NULL pointer dereference in dlm_dump_rsb_name()
Summary
| CVE | CVE-2026-139769 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:20:09 UTC |
| Updated | 2026-11-30 14:20:09 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
dlm: fix NULL pointer dereference in dlm_dump_rsb_name()
The function dlm_dump_rsb_name() is called from receive_rcom_lookup()
when a debug dump is requested via a special RCOM_LOOKUP message with
rc_id == 0xFFFFFFFF.
The resource name passed to dlm_dump_rsb_name() comes from the received
message. There is no guarantee that an RSB with this name exists in the
local hash table.
dlm_search_rsb_tree() returns 0 when the RSB is found and stores a valid
pointer in r. When the lookup fails, it returns -EBADR and leaves r
NULL.
The current error handling is inverted:
if (!error)
goto out;
As a result, dlm_dump_rsb() is called only when the lookup fails and r
is NULL, resulting in a NULL pointer dereference.
Found by Linux Verification Center (linuxtesting.org) with SVACE. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 2d90354027ad2011c0c5a2a404fe81afc745c2a7 d2a69ff47bce79bdd7d8eb5457270ffabe13165a git |
Not specified |
| CNA |
Linux |
Linux |
affected 2d90354027ad2011c0c5a2a404fe81afc745c2a7 11c4327896711406c3756952d86773a4d8cddf0a git |
Not specified |
| CNA |
Linux |
Linux |
affected 2d90354027ad2011c0c5a2a404fe81afc745c2a7 7f076bf4adcf05fccff650122dfbe9fdff79ec2b git |
Not specified |
| CNA |
Linux |
Linux |
affected 2d90354027ad2011c0c5a2a404fe81afc745c2a7 19982c99a302ab544c69f95d37ca3070c89762d3 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.10 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.10 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/19982c99a302ab544c69f95d37ca3070c89762d3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/11c4327896711406c3756952d86773a4d8cddf0a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d2a69ff47bce79bdd7d8eb5457270ffabe13165a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/7f076bf4adcf05fccff650122dfbe9fdff79ec2b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.