{"id":"CVE-2026-139769","summary":"dlm: fix NULL pointer dereference in dlm_dump_rsb_name()","details":"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.","modified":"2026-12-01T07:00:41.106049871Z","published":"2026-11-30T13:37:48.706Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139769.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/11c4327896711406c3756952d86773a4d8cddf0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/19982c99a302ab544c69f95d37ca3070c89762d3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f076bf4adcf05fccff650122dfbe9fdff79ec2b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2a69ff47bce79bdd7d8eb5457270ffabe13165a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139769.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139769"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2d90354027ad2011c0c5a2a404fe81afc745c2a7"},{"fixed":"d2a69ff47bce79bdd7d8eb5457270ffabe13165a"},{"fixed":"11c4327896711406c3756952d86773a4d8cddf0a"},{"fixed":"7f076bf4adcf05fccff650122dfbe9fdff79ec2b"},{"fixed":"19982c99a302ab544c69f95d37ca3070c89762d3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139769.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139769.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}