CVE-2026-139770
dlm: validate lock modes in recovery messages
Check your servers for CVE-2026-139770
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139770 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 69.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e7fd41792fc0ee52a05fcaac87511f118328d147, before 80edda84148e11a1df4bdf3c963bebb9f1ba5d40 affected from e7fd41792fc0ee52a05fcaac87511f118328d147, before ead3d0eec0a7110adfccb46870e25a01cfe106e8 affected from e7fd41792fc0ee52a05fcaac87511f118328d147, before dddfdd527a4f015c0205578e7d397f313bdcd4b1 affected from e7fd41792fc0ee52a05fcaac87511f118328d147, before c0808860594e7a85c53a84be3bd3d60e79eb0064 affected from e7fd41792fc0ee52a05fcaac87511f118328d147, before 9ae32cfbcb62a23be5e78bd73bea0d7517fa8adf affected from e7fd41792fc0ee52a05fcaac87511f118328d147, before 754b20172f449755816c4def9437b4c938a7c6fe affected from e7fd41792fc0ee52a05fcaac87511f118328d147, before 7bf1aca6d626944091a5cb218b4e487547edff0a
Other versions: unaffected
|
| Linux |
affected 2.6.19 unaffected before 2.6.19 unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139770 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139770
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139770
trivy image --scanners vuln IMAGE | grep CVE-2026-139770
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/80edda84148e11a1df4bdf3c963bebb9f1ba5d40 git.kernel.org
- https://git.kernel.org/stable/c/ead3d0eec0a7110adfccb46870e25a01cfe106e8 git.kernel.org
- https://git.kernel.org/stable/c/dddfdd527a4f015c0205578e7d397f313bdcd4b1 git.kernel.org
- https://git.kernel.org/stable/c/c0808860594e7a85c53a84be3bd3d60e79eb0064 git.kernel.org
- https://git.kernel.org/stable/c/9ae32cfbcb62a23be5e78bd73bea0d7517fa8adf git.kernel.org
- https://git.kernel.org/stable/c/754b20172f449755816c4def9437b4c938a7c6fe git.kernel.org
- https://git.kernel.org/stable/c/7bf1aca6d626944091a5cb218b4e487547edff0a git.kernel.org
Source: the record CVE-2026-139770 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse