{"id":"CVE-2026-139768","aliases":["CVE-2026-139768"],"related":[],"kind":"vulnerability","state":"published","title":"dlm: fix buffer overflow from negative len in dlm_search_rsb_tree","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndlm: fix buffer overflow from negative len in dlm_search_rsb_tree\n\ncommit 080e5563f878c (\"dlm: validate length in dlm_search_rsb_tree\")\nonly checks for len > DLM_RESNAME_MAXLEN, which does not catch negative\nvalues. While the input 'len' can be negative and a negative int passed\nto memcpy() is implicitly converted to a large size_t, causing a stack\nbuffer overflow on the key[] array.\n\nFix this by changing the 'len' parameter type from int to unsigned int.\nThis ensures negative values from callers are implicitly converted to\nlarge unsigned values that are caught by the existing\nlen > DLM_RESNAME_MAXLEN check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndlm: fix buffer overflow from negative len in dlm_search_rsb_tree\n\ncommit 080e5563f878c (\"dlm: validate length in dlm_search_rsb_tree\")\nonly checks for len > DLM_RESNAME_MAXLEN, which does not catch negative\nvalues. While the input 'len' can be negative and a negative int passed\nto memcpy() is implicitly converted to a large size_t, causing a stack\nbuffer overflow on the key[] array.\n\nFix this by changing the 'len' parameter type from int to unsigned int.\nThis ensures negative values from callers are implicitly converted to\nlarge unsigned values that are caught by the existing\nlen > DLM_RESNAME_MAXLEN check.","source":"cvelist"}],"published":"2026-11-30T13:37:47.831Z","modified":"2026-12-01T06:17:48.683Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"08cb20cf07a8c5324b49442421da1556fd2d7cff","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"35d6a8cf1b8865f4f1646f98683925e3cd070a1c","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"69beb43cd143f63078e569d9d90c6c401c866695","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"d785f7d92f197b72d496bbcf54a160cd54f00263","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12.119","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18.65","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.3.6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/08cb20cf07a8c5324b49442421da1556fd2d7cff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35d6a8cf1b8865f4f1646f98683925e3cd070a1c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69beb43cd143f63078e569d9d90c6c401c866695","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d785f7d92f197b72d496bbcf54a160cd54f00263","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139768","url":"https://www.cve.org/CVERecord?id=CVE-2026-139768","licence":"CVE Terms of Use","modified":"2026-12-01T05:43:14.557Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139768","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139768","licence":"Public domain","modified":"2026-12-01T06:17:48.683Z"}],"updatedAt":"2026-12-01T06:32:24.284Z","epss":{"score":0.01175,"percentile":0.68429,"date":"2026-12-01T12:00:22.000Z"}}