# CVE-2026-139769: dlm: fix NULL pointer dereference in dlm_dump_rsb_name()

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:48.706Z
- Modified: 2026-12-01T06:17:48.830Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 2d90354027ad2011c0c5a2a404fe81afc745c2a7 before d2a69ff47bce79bdd7d8eb5457270ffabe13165a; from 2d90354027ad2011c0c5a2a404fe81afc745c2a7 before 11c4327896711406c3756952d86773a4d8cddf0a; from 2d90354027ad2011c0c5a2a404fe81afc745c2a7 before 7f076bf4adcf05fccff650122dfbe9fdff79ec2b; from 2d90354027ad2011c0c5a2a404fe81afc745c2a7 before 19982c99a302ab544c69f95d37ca3070c89762d3; 6.10 (not affected: before 6.10; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/d2a69ff47bce79bdd7d8eb5457270ffabe13165a>
- <https://git.kernel.org/stable/c/11c4327896711406c3756952d86773a4d8cddf0a>
- <https://git.kernel.org/stable/c/7f076bf4adcf05fccff650122dfbe9fdff79ec2b>
- <https://git.kernel.org/stable/c/19982c99a302ab544c69f95d37ca3070c89762d3>

## Sources

- CVE List: [CVE-2026-139769](https://www.cve.org/CVERecord?id=CVE-2026-139769), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139769](https://nvd.nist.gov/vuln/detail/CVE-2026-139769), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139769 · Whole record: https://cve.day/CVE-2026-139769.json · Rebuilt by cve.day 2026-12-01T06:32:28.015Z
