{"id":"CVE-2026-139769","state":"PUBLISHED","title":"dlm: fix NULL pointer dereference in dlm_dump_rsb_name()","description":"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.","publishedAt":"2026-11-30T13:37:48.706Z","updatedAt":"2026-11-30T13:37:48.706Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","status":"affected","lessThan":"d2a69ff47bce79bdd7d8eb5457270ffabe13165a","versionType":"git"},{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","status":"affected","lessThan":"11c4327896711406c3756952d86773a4d8cddf0a","versionType":"git"},{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","status":"affected","lessThan":"7f076bf4adcf05fccff650122dfbe9fdff79ec2b","versionType":"git"},{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","status":"affected","lessThan":"19982c99a302ab544c69f95d37ca3070c89762d3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/dlm/lock.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/dlm/lock.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-11-30T13:56:04.579Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139769.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139769","state":"PUBLISHED","datePublished":"2026-11-30T13:37:48.706Z","dateUpdated":"2026-11-30T13:37:48.706Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.952Z"},"containers":{"cna":{"title":"dlm: fix NULL pointer dereference in dlm_dump_rsb_name()","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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","status":"affected","lessThan":"d2a69ff47bce79bdd7d8eb5457270ffabe13165a","versionType":"git"},{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","status":"affected","lessThan":"11c4327896711406c3756952d86773a4d8cddf0a","versionType":"git"},{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","status":"affected","lessThan":"7f076bf4adcf05fccff650122dfbe9fdff79ec2b","versionType":"git"},{"version":"2d90354027ad2011c0c5a2a404fe81afc745c2a7","status":"affected","lessThan":"19982c99a302ab544c69f95d37ca3070c89762d3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/dlm/lock.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/dlm/lock.c"]}],"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"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:37:48.706Z"},"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"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}