ocfs2: bound namelen in dlm_migrate_request_handler
In the Linux kernel, the following vulnerability has been resolved: ocfs2: bound namelen in dlm_migrate_request_handler Patch series "ocfs2/dlm: bound peer-controlled lengths in the o2dlm". The o2dlm receive handlers trust u8 length and count fields from the wire without bounding them, so a node in a DLM domain can corrupt or panic any other node with a malformed message. Three defects: - dlm_migrate_request_handler() passes migrate->namelen unchecked to dlm_init_mle(), which memcpy()s it into the 32-byte mname[] of an o2dlm_mle slab object: a heap out-of-bounds write of up to ~215 attacker-controlled bytes. - dlm_mig_lockres_handler() passes mres->lockname_len unchecked to dlm_init_lockres(), which memcpy()s it into the 32-byte o2dlm_lockname slab object: a heap out-of-bounds write of up to ~223 bytes. - the same handler trusts mres->num_locks without checking that the message is large enough to hold that many entries, so dlm_process_recovery_data() walks mres->ml[] past the kmalloc(data_len) copy and trips a BUG_ON (an out-of-bounds read ending in a panic). The other o2dlm receive handlers already reject an oversized name; the migration and recovery handlers have omitted it since the DLM was added (see the Fixes tags). Patch 1 bounds namelen; patch 2 validates lockname_len, num_locks, and the payload size. Conforming recovery and migration traffic is unaffected. o2net authenticates peers only by the DLM domain key, so any node that has joined the domain -- including a compr
CVE-2026-89495
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89495
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6714d8e86bf443f6f7af50f9d432025649f091f5",
"lessThan": "e1288865b8ceac0dcd1009ecba43de961f13d5bd",
"versionType": "git"
},
{
"status": "affected",
"version": "6714d8e86bf443f6f7af50f9d432025649f091f5",
"lessThan": "aabc5d8388e6f8826345f0073455dbcaaaa6491d",
"versionType": "git"
},
{
"status": "affected",
"version": "6714d8e86bf443f6f7af50f9d432025649f091f5",
"lessThan": "006c96ea488eca2ef5155ec76038e0a4dbf65f0a",
"versionType": "git"
},
{
"status": "affected",
"version": "6714d8e86bf443f6f7af50f9d432025649f091f5",
"lessThan": "24989909d3413b44b104102caa6661b1e424ba0f",
"versionType": "git"
},
{
"status": "affected",
"version": "6714d8e86bf443f6f7af50f9d432025649f091f5",
"lessThan": "f8658ee3327f73bd81c0bcd07cdeb5a8527fac98",
"versionType": "git"
},
{
"status": "affected",
"version": "6714d8e86bf443f6f7af50f9d432025649f091f5",
"lessThan": "de10cd3b062a5235af754925fcf49beb5a1109d4",
"versionType": "git"
},
{
"status": "affected",
"version": "6714d8e86bf443f6f7af50f9d432025649f091f5",
"lessThan": "2487bea2098322669f0563baff53e797486b823f",
"versionType": "git"
},
{
"status": "affected",
"version": "6714d8e86bf443f6f7af50f9d432025649f091f5",
"lessThan": "ea5b5609305a8437bc955a0834a530c12246d78f",
"versionType": "git"
}
],
"programFiles": [
"fs/ocfs2/dlm/dlmmaster.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.16"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.16",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.270",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.221",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.109",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/ocfs2/dlm/dlmmaster.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89495
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #35021 · Revision 1
- Added to Heist Feed
- Publisher date