{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139769","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.952Z","datePublished":"2026-11-30T13:37:48.706Z","dateUpdated":"2026-12-01T05:43:15.882Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:43:15.882Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndlm: fix NULL pointer dereference in dlm_dump_rsb_name()\n\nThe function dlm_dump_rsb_name() is called from receive_rcom_lookup()\nwhen a debug dump is requested via a special RCOM_LOOKUP message with\nrc_id == 0xFFFFFFFF.\n\nThe resource name passed to dlm_dump_rsb_name() comes from the received\nmessage. There is no guarantee that an RSB with this name exists in the\nlocal hash table.\n\ndlm_search_rsb_tree() returns 0 when the RSB is found and stores a valid\npointer in r. When the lookup fails, it returns -EBADR and leaves r\nNULL.\n\nThe current error handling is inverted:\n\n    if (!error)\n            goto out;\n\nAs a result, dlm_dump_rsb() is called only when the lookup fails and r\nis NULL, resulting in a NULL pointer dereference.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS:U - The fault is a NULL dereference inside the victim node's own kernel. No VM, IOMMU or sandbox boundary is crossed.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/dlm/lock.c"],"versions":[{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","lessThan":"d2a69ff47bce79bdd7d8eb5457270ffabe13165a","status":"affected","versionType":"git"},{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","lessThan":"11c4327896711406c3756952d86773a4d8cddf0a","status":"affected","versionType":"git"},{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","lessThan":"7f076bf4adcf05fccff650122dfbe9fdff79ec2b","status":"affected","versionType":"git"},{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","lessThan":"19982c99a302ab544c69f95d37ca3070c89762d3","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/dlm/lock.c"],"versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/d2a69ff47bce79bdd7d8eb5457270ffabe13165a"},{"url":"https://git.kernel.org/stable/c/11c4327896711406c3756952d86773a4d8cddf0a"},{"url":"https://git.kernel.org/stable/c/7f076bf4adcf05fccff650122dfbe9fdff79ec2b"},{"url":"https://git.kernel.org/stable/c/19982c99a302ab544c69f95d37ca3070c89762d3"}],"title":"dlm: fix NULL pointer dereference in dlm_dump_rsb_name()","x_generator":{"engine":"bippy-1.2.0"}}}}