CVE-2026-139770

Source
https://cve.org/CVERecord?id=CVE-2026-139770
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139770.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139770
Downstream
Published
2026-11-30T13:37:49Z
Modified
2026-12-01T07:00:42Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
dlm: validate lock modes in recovery messages
Details

In the Linux kernel, the following vulnerability has been resolved:

dlm: validate lock modes in recovery messages

The DLM recovery path restores lock state from rcom_lock messages received from remote nodes. The lock modes in these messages are copied directly into the local lkb state without validating that they are within the valid DLM lock mode range.

The rest of the DLM code assumes that lkb_rqmode and lkb_grmode contain valid lock modes. In particular, LVB callback handling in dlm_may_skip_callback() uses lock modes as indexes into the dlm_lvb_operations array:

dlm_lvb_operations[prev_mode + 1][mode + 1]

An invalid lock mode received during recovery could therefore result in an out-of-bounds read during subsequent LVB callback processing.

Validate rl_rqmode and rl_grmode before storing them into the local LKB state. This preserves the lock mode invariant required by the rest of the DLM code.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139770.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e7fd41792fc0ee52a05fcaac87511f118328d147
Fixed
80edda84148e11a1df4bdf3c963bebb9f1ba5d40
Fixed
ead3d0eec0a7110adfccb46870e25a01cfe106e8
Fixed
dddfdd527a4f015c0205578e7d397f313bdcd4b1
Fixed
c0808860594e7a85c53a84be3bd3d60e79eb0064
Fixed
9ae32cfbcb62a23be5e78bd73bea0d7517fa8adf
Fixed
754b20172f449755816c4def9437b4c938a7c6fe
Fixed
7bf1aca6d626944091a5cb218b4e487547edff0a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139770.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.19
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.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-139770.json"