Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-89494

ocfs2: validate lengths in dlm_mig_lockres_handler
Back to all
CVE

CVE-2026-89494

ocfs2: validate lengths in dlm_mig_lockres_handler

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

ocfs2: validate lengths in dlmmiglockres_handler

A node receiving a DLMMIGLOCKRES message trusts several fields of the

peer-supplied dlmmigratablelockres without validation.  num_locks and

lockname_len are bounded only on the sending side, and the message is

never checked to actually carry numlocks migratablelock entries.  As a

result dlmprocessrecoverydata() walks mres->ml[0..numlocks) past the

kmalloc(data_len) copy of the message (an out-of-bounds read that ends in

a BUGON panic), and dlminitlockres() copies locknamelen 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 locknamelen <= DLMLOCKIDNAMEMAX, num_locks <=

DLMMAXMIGRATABLE_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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/0e999d56917f861f97adb961617b1828c9eb4733, https://git.kernel.org/stable/c/4a5798253212093b9ff7d90c6cfbe348bcda1594, https://git.kernel.org/stable/c/50c4cc9183e11f83427efbf770f54851f4471c02, https://git.kernel.org/stable/c/77686fa5bba135252d348e2dacf481fc19f60c41, https://git.kernel.org/stable/c/a8facb1670b4a0612183198e758d9539ef628ed9, https://git.kernel.org/stable/c/b54e03d9b3697d25f4a0063cf717d459c5e3ad94, https://git.kernel.org/stable/c/dce05b17db862f47ff60614017abe639b2e71cad, https://git.kernel.org/stable/c/f33041906885f96e190cde54e61ddc69de39e3ee, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89494.json, https://nvd.nist.gov/vuln/detail/CVE-2026-89494, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00714%
EPSS Percentile
0.52231%
Introduced Version
6714d8e86bf443f6f7af50f9d432025649f091f5,2.6.16,5.11.0,5.16.0,6.2.0,6.7.0,6.13.0,6.19.0,0
Fix Available
b54e03d9b3697d25f4a0063cf717d459c5e3ad94,5.10.270,5.15.221,6.1.188,6.6.157,6.12.109,6.18.50,7.2.4,6.12.111-1~deb12u1,6.12.111-1,0:6.12.0-207.111.5.1.el10uek,0:6.12.0-207.111.5.1.el9uek

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading