# CVE-2026-89494: ocfs2: validate lengths in dlm\_mig\_lockres\_handler

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **Published:** 2026-09-11T19:43:45.455Z
- **Modified:** 2026-10-19T09:17:43.363Z

## Who should check

- Anyone running Linux \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 4a5798253212093b9ff7d90c6cfbe348bcda1594; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< dce05b17db862f47ff60614017abe639b2e71cad; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 0e999d56917f861f97adb961617b1828c9eb4733; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 77686fa5bba135252d348e2dacf481fc19f60c41; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< f33041906885f96e190cde54e61ddc69de39e3ee; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 50c4cc9183e11f83427efbf770f54851f4471c02; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< a8facb1670b4a0612183198e758d9539ef628ed9; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< b54e03d9b3697d25f4a0063cf717d459c5e3ad94
- Anyone running Linux 2.6.16

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

## Affected and fixed versions

- Linux: \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 4a5798253212093b9ff7d90c6cfbe348bcda1594; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< dce05b17db862f47ff60614017abe639b2e71cad; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 0e999d56917f861f97adb961617b1828c9eb4733; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 77686fa5bba135252d348e2dacf481fc19f60c41; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< f33041906885f96e190cde54e61ddc69de39e3ee; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 50c4cc9183e11f83427efbf770f54851f4471c02; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< a8facb1670b4a0612183198e758d9539ef628ed9; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< b54e03d9b3697d25f4a0063cf717d459c5e3ad94 (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89494. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89494.md
Affected: Linux >= 6714d8e86bf443f6f7af50f9d432025649f091f5, < 4a5798253212093b9ff7d90c6cfbe348bcda1594; >= 6714d8e86bf443f6f7af50f9d432025649f091f5, < dce05b17db862f47ff60614017abe639b2e71cad; >= 6714d8e86bf443f6f7af50f9d432025649f091f5, < 0e999d56917f861f97adb961617b1828c9eb4733; >= 6714d8e86bf443f6f7af50f…
Fixed in: Linux 4a5798253212093b9ff7d90c6cfbe348bcda1594, Linux 0e999d56917f861f97adb961617b1828c9eb4733, Linux 77686fa5bba135252d348e2dacf481fc19f60c41, Linux 50c4cc9183e11f83427efbf770f54851f4471c02

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89494 being exploited?

There is no confirmed exploitation: CVE-2026-89494 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89494?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-89494?

Linux \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 4a5798253212093b9ff7d90c6cfbe348bcda1594; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< dce05b17db862f47ff60614017abe639b2e71cad; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 0e999d56917f861f97adb961617b1828c9eb4733; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 77686fa5bba135252d348e2dacf481fc19f60c41; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< f33041906885f96e190cde54e61ddc69de39e3ee; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< 50c4cc9183e11f83427efbf770f54851f4471c02; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< a8facb1670b4a0612183198e758d9539ef628ed9; \>= 6714d8e86bf443f6f7af50f9d432025649f091f5, \< b54e03d9b3697d25f4a0063cf717d459c5e3ad94; Linux 2.6.16.

### Is there a fix for CVE-2026-89494?

Yes. Fixed in Linux 4a5798253212093b9ff7d90c6cfbe348bcda1594, Linux 0e999d56917f861f97adb961617b1828c9eb4733, Linux 77686fa5bba135252d348e2dacf481fc19f60c41, Linux 50c4cc9183e11f83427efbf770f54851f4471c02. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89494?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4a5798253212093b9ff7d90c6cfbe348bcda1594>
- other: <https://git.kernel.org/stable/c/dce05b17db862f47ff60614017abe639b2e71cad>
- other: <https://git.kernel.org/stable/c/0e999d56917f861f97adb961617b1828c9eb4733>
- other: <https://git.kernel.org/stable/c/77686fa5bba135252d348e2dacf481fc19f60c41>
- other: <https://git.kernel.org/stable/c/f33041906885f96e190cde54e61ddc69de39e3ee>
- other: <https://git.kernel.org/stable/c/50c4cc9183e11f83427efbf770f54851f4471c02>
- other: <https://git.kernel.org/stable/c/a8facb1670b4a0612183198e758d9539ef628ed9>
- other: <https://git.kernel.org/stable/c/b54e03d9b3697d25f4a0063cf717d459c5e3ad94>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89494>

HTML: <https://flawdb.com/CVE-2026-89494> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89494>
