CVE-2026-89494
ocfs2: validate lengths in dlm_mig_lockres_handler
Check your servers for CVE-2026-89494
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-89494 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:
ocfs2: validate lengths in dlm_mig_lockres_handler
A node receiving a DLM_MIG_LOCKRES message trusts several fields of the peer-supplied dlm_migratable_lockres without validation. num_locks and lockname_len are bounded only on the sending side, and the message is never checked to actually carry num_locks migratable_lock entries. As a result dlm_process_recovery_data() walks mres->ml[0..num_locks) past the kmalloc(data_len) copy of the message (an out-of-bounds read that ends in a BUG_ON panic), and dlm_init_lockres() copies lockname_len bytes into the fixed 32-byte o2dlm_lockname slab object (a heap out-of-bounds write). Both are reachable by any node in the domain.
Validate these fields right after dlm_grab(), before anything uses them -- including the not-joined error path, which already prints mres->lockname with the unbounded lockname_len as a %.*s precision. Reject the message unless lockname_len <= DLM_LOCKID_NAME_MAX, num_locks <= DLM_MAX_MIGRATABLE_LOCKS (the bound the sender already asserts), and the payload is large enough to hold the claimed locks. Conforming recovery and migration messages are unaffected.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.71%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 54.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6714d8e86bf443f6f7af50f9d432025649f091f5, before 4a5798253212093b9ff7d90c6cfbe348bcda1594 affected from 6714d8e86bf443f6f7af50f9d432025649f091f5, before dce05b17db862f47ff60614017abe639b2e71cad affected from 6714d8e86bf443f6f7af50f9d432025649f091f5, before 0e999d56917f861f97adb961617b1828c9eb4733 affected from 6714d8e86bf443f6f7af50f9d432025649f091f5, before 77686fa5bba135252d348e2dacf481fc19f60c41 affected from 6714d8e86bf443f6f7af50f9d432025649f091f5, before f33041906885f96e190cde54e61ddc69de39e3ee affected from 6714d8e86bf443f6f7af50f9d432025649f091f5, before 50c4cc9183e11f83427efbf770f54851f4471c02 affected from 6714d8e86bf443f6f7af50f9d432025649f091f5, before a8facb1670b4a0612183198e758d9539ef628ed9 affected from 6714d8e86bf443f6f7af50f9d432025649f091f5, before b54e03d9b3697d25f4a0063cf717d459c5e3ad94
Other versions: unaffected
|
| Linux |
affected 2.6.16 unaffected before 2.6.16 unaffected from 5.10.270 up to and including 5.10.* unaffected from 5.15.221 up to and including 5.15.* unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.109 up to and including 6.12.* unaffected from 6.18.50 up to and including 6.18.* unaffected from 7.2.4 up to and including 7.2.* unaffected 7.3 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-89494 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89494
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-89494
trivy image --scanners vuln IMAGE | grep CVE-2026-89494
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/4a5798253212093b9ff7d90c6cfbe348bcda1594 git.kernel.org
- https://git.kernel.org/stable/c/dce05b17db862f47ff60614017abe639b2e71cad git.kernel.org
- https://git.kernel.org/stable/c/0e999d56917f861f97adb961617b1828c9eb4733 git.kernel.org
- https://git.kernel.org/stable/c/77686fa5bba135252d348e2dacf481fc19f60c41 git.kernel.org
- https://git.kernel.org/stable/c/f33041906885f96e190cde54e61ddc69de39e3ee git.kernel.org
- https://git.kernel.org/stable/c/50c4cc9183e11f83427efbf770f54851f4471c02 git.kernel.org
- https://git.kernel.org/stable/c/a8facb1670b4a0612183198e758d9539ef628ed9 git.kernel.org
- https://git.kernel.org/stable/c/b54e03d9b3697d25f4a0063cf717d459c5e3ad94 git.kernel.org
Source: the record CVE-2026-89494 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