{"api_version":"1","generated_at":"2026-11-30T20:00:28+00:00","cve":"CVE-2026-139770","urls":{"html":"https://cve.report/CVE-2026-139770","api":"https://cve.report/api/cve/CVE-2026-139770.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139770","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139770"},"summary":{"title":"dlm: validate lock modes in recovery messages","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndlm: validate lock modes in recovery messages\n\nThe DLM recovery path restores lock state from rcom_lock messages\nreceived from remote nodes. The lock modes in these messages are\ncopied directly into the local lkb state without validating that they\nare within the valid DLM lock mode range.\n\nThe rest of the DLM code assumes that lkb_rqmode and lkb_grmode\ncontain valid lock modes. In particular, LVB callback handling in\ndlm_may_skip_callback() uses lock modes as indexes into the\ndlm_lvb_operations array:\n\n    dlm_lvb_operations[prev_mode + 1][mode + 1]\n\nAn invalid lock mode received during recovery could therefore result in\nan out-of-bounds read during subsequent LVB callback processing.\n\nValidate rl_rqmode and rl_grmode before storing them into the local LKB\nstate. This preserves the lock mode invariant required by the rest of\nthe DLM code.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:09","updated_at":"2026-11-30 14:20:09"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9ae32cfbcb62a23be5e78bd73bea0d7517fa8adf","name":"https://git.kernel.org/stable/c/9ae32cfbcb62a23be5e78bd73bea0d7517fa8adf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dddfdd527a4f015c0205578e7d397f313bdcd4b1","name":"https://git.kernel.org/stable/c/dddfdd527a4f015c0205578e7d397f313bdcd4b1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ead3d0eec0a7110adfccb46870e25a01cfe106e8","name":"https://git.kernel.org/stable/c/ead3d0eec0a7110adfccb46870e25a01cfe106e8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/754b20172f449755816c4def9437b4c938a7c6fe","name":"https://git.kernel.org/stable/c/754b20172f449755816c4def9437b4c938a7c6fe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c0808860594e7a85c53a84be3bd3d60e79eb0064","name":"https://git.kernel.org/stable/c/c0808860594e7a85c53a84be3bd3d60e79eb0064","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7bf1aca6d626944091a5cb218b4e487547edff0a","name":"https://git.kernel.org/stable/c/7bf1aca6d626944091a5cb218b4e487547edff0a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/80edda84148e11a1df4bdf3c963bebb9f1ba5d40","name":"https://git.kernel.org/stable/c/80edda84148e11a1df4bdf3c963bebb9f1ba5d40","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139770","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139770","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 80edda84148e11a1df4bdf3c963bebb9f1ba5d40 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 ead3d0eec0a7110adfccb46870e25a01cfe106e8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 dddfdd527a4f015c0205578e7d397f313bdcd4b1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 c0808860594e7a85c53a84be3bd3d60e79eb0064 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 9ae32cfbcb62a23be5e78bd73bea0d7517fa8adf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 754b20172f449755816c4def9437b4c938a7c6fe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e7fd41792fc0ee52a05fcaac87511f118328d147 7bf1aca6d626944091a5cb218b4e487547edff0a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/dlm/lock.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"80edda84148e11a1df4bdf3c963bebb9f1ba5d40","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"},{"lessThan":"ead3d0eec0a7110adfccb46870e25a01cfe106e8","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"},{"lessThan":"dddfdd527a4f015c0205578e7d397f313bdcd4b1","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"},{"lessThan":"c0808860594e7a85c53a84be3bd3d60e79eb0064","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"},{"lessThan":"9ae32cfbcb62a23be5e78bd73bea0d7517fa8adf","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"},{"lessThan":"754b20172f449755816c4def9437b4c938a7c6fe","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"},{"lessThan":"7bf1aca6d626944091a5cb218b4e487547edff0a","status":"affected","version":"e7fd41792fc0ee52a05fcaac87511f118328d147","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/dlm/lock.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.19"},{"lessThan":"2.6.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndlm: validate lock modes in recovery messages\n\nThe DLM recovery path restores lock state from rcom_lock messages\nreceived from remote nodes. The lock modes in these messages are\ncopied directly into the local lkb state without validating that they\nare within the valid DLM lock mode range.\n\nThe rest of the DLM code assumes that lkb_rqmode and lkb_grmode\ncontain valid lock modes. In particular, LVB callback handling in\ndlm_may_skip_callback() uses lock modes as indexes into the\ndlm_lvb_operations array:\n\n    dlm_lvb_operations[prev_mode + 1][mode + 1]\n\nAn invalid lock mode received during recovery could therefore result in\nan out-of-bounds read during subsequent LVB callback processing.\n\nValidate rl_rqmode and rl_grmode before storing them into the local LKB\nstate. This preserves the lock mode invariant required by the rest of\nthe DLM code.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:49.492Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/80edda84148e11a1df4bdf3c963bebb9f1ba5d40"},{"url":"https://git.kernel.org/stable/c/ead3d0eec0a7110adfccb46870e25a01cfe106e8"},{"url":"https://git.kernel.org/stable/c/dddfdd527a4f015c0205578e7d397f313bdcd4b1"},{"url":"https://git.kernel.org/stable/c/c0808860594e7a85c53a84be3bd3d60e79eb0064"},{"url":"https://git.kernel.org/stable/c/9ae32cfbcb62a23be5e78bd73bea0d7517fa8adf"},{"url":"https://git.kernel.org/stable/c/754b20172f449755816c4def9437b4c938a7c6fe"},{"url":"https://git.kernel.org/stable/c/7bf1aca6d626944091a5cb218b4e487547edff0a"}],"title":"dlm: validate lock modes in recovery messages","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139770","datePublished":"2026-11-30T13:37:49.492Z","dateReserved":"2026-11-30T13:22:15.952Z","dateUpdated":"2026-11-30T13:37:49.492Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:09","lastModifiedDate":"2026-11-30 14:20:09","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139770","Ordinal":"1","Title":"dlm: validate lock modes in recovery messages","CVE":"CVE-2026-139770","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139770","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndlm: validate lock modes in recovery messages\n\nThe DLM recovery path restores lock state from rcom_lock messages\nreceived from remote nodes. The lock modes in these messages are\ncopied directly into the local lkb state without validating that they\nare within the valid DLM lock mode range.\n\nThe rest of the DLM code assumes that lkb_rqmode and lkb_grmode\ncontain valid lock modes. In particular, LVB callback handling in\ndlm_may_skip_callback() uses lock modes as indexes into the\ndlm_lvb_operations array:\n\n    dlm_lvb_operations[prev_mode + 1][mode + 1]\n\nAn invalid lock mode received during recovery could therefore result in\nan out-of-bounds read during subsequent LVB callback processing.\n\nValidate rl_rqmode and rl_grmode before storing them into the local LKB\nstate. This preserves the lock mode invariant required by the rest of\nthe DLM code.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","Type":"Description","Title":"dlm: validate lock modes in recovery messages"}]}}}