CVE-2026-139769
published high CVSS 3.1 · 7.5dlm: fix NULL pointer dereference in dlm_dump_rsb_name()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2d90354027ad2011c0c5a2a404fe81afc745c2a7 to < d2a69ff47bce79bdd7d8eb5457270ffabe13165a · 2d90354027ad2011c0c5a2a404fe81afc745c2a7 to < 11c4327896711406c3756952d86773a4d8cddf0a · 2d90354027ad2011c0c5a2a404fe81afc745c2a7 to < 7f076bf4adcf05fccff650122dfbe9fdff79ec2b · 2d90354027ad2011c0c5a2a404fe81afc745c2a7 to < 19982c99a302ab544c69f95d37ca3070c89762d3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The bad input is a DLM_RCOM_LOOKUP message with rc_id 0xFFFFFFFF and a resource name that does not exist, sent over the routable DLM lowcomms TCP/SCTP transport (port 21064). It goes dlm_process_incoming_buffer -> dlm_receive_buffer -> dlm_receive_rcom -> receive_rcom_lookup -> dlm_dump_rsb_name, so the remote peer supplies both values that trigger the bug. AC:L - dlm_receive_rcom only requires DLM_RS_NODES|DIR to be set and LSFL_RECOVER_STOP to be clear. Both stay that way after the recovery every lockspace join runs, so a member peer, whose midcomms tracks the DLM_OPTS sequence number for it, can trigger the bug at any time. Any name missing from ls_rsbtbl makes the NULL dereference certain, with no race involved. PR:N - accept_from_sock() admits a connection only through addr_to_nodeid(), which matches the source IP and ignores the port. No credential or authentication is checked before receive_rcom_lookup acts on the packet, so the sender needs no account or privilege on the victim node. UI:N - The DLM receive path processes the message on its own in the dlm_process workqueue on any node with an active lockspace. No administrator or user action is involved. S:U - The fault is a NULL dereference inside the victim node's own kernel. No VM, IOMMU or sandbox boundary is crossed. C:N - After dlm_search_rsb_tree() returns -EBADR, r is NULL, and dlm_print_rsb() faults on its first read of r->res_nodeid. Nothing is read from attacker-influenced memory and nothing is sent back to the peer. I:N - The faulting path only reads fields through a NULL rsb pointer and calls printk. It performs no writes, so there is no memory-corruption primitive. A:H - The NULL dereference oopses the dlm_process worker, which is a WQ_BH (softirq) workqueue in 6.12 and later, so it is a fatal exception in interrupt and panics the node. Any peer can repeat it whenever the node rejoins.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2d90354027ad2011c0c5a2a404fe81afc745c2a7 to < d2a69ff47bce79bdd7d8eb5457270ffabe13165a (affected · git)2d90354027ad2011c0c5a2a404fe81afc745c2a7 to < 11c4327896711406c3756952d86773a4d8cddf0a (affected · git)2d90354027ad2011c0c5a2a404fe81afc745c2a7 to < 7f076bf4adcf05fccff650122dfbe9fdff79ec2b (affected · git)2d90354027ad2011c0c5a2a404fe81afc745c2a7 to < 19982c99a302ab544c69f95d37ca3070c89762d3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
dlm: fix NULL pointer dereference in dlm_dump_rsb_name()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1d992e6ded7e3683c3a753388f770ce9303f8474d9cdb6c21c26333e85e46a80
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record