{
  "id": "CVE-2026-89494",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-89494",
  "published_at": "2026-09-11T19:43:45.455Z",
  "title": "ocfs2: validate lengths in dlm_mig_lockres_handler",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate lengths in dlm_mig_lockres_handler\n\nA node receiving a DLM_MIG_LOCKRES message trusts several fields of the\npeer-supplied dlm_migratable_lockres without validation.  num_locks and\nlockname_len are bounded only on the sending side, and the message is\nnever checked to actually carry num_locks migratable_lock entries.  As a\nresult dlm_process_recovery_data() walks mres-\u003eml[0..num_locks) past the\nkmalloc(data_len) copy of the message (an out-of-bounds read that ends in\na BUG_ON panic), and dlm_init_lockres() copies lockname_len bytes into the\nfixed 32-byte o2dlm_lockname slab object (a heap out-of-bounds write). \nBoth are reachable by any node in the domain.\n\nValidate these fields right after dlm_grab(), before anything uses them --\nincluding the not-joined error path, which already prints mres-\u003elockname\nwith the unbounded lockname_len as a %.*s precision.  Reject the message\nunless lockname_len \u003c= DLM_LOCKID_NAME_MAX, num_locks \u003c=\nDLM_MAX_MIGRATABLE_LOCKS (the bound the sender already asserts), and the\npayload is large enough to hold the claimed locks.  Conforming recovery\nand migration messages are unaffected.",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6714d8e86bf443f6f7af50f9d432025649f091f5, \u003c 4a5798253212093b9ff7d90c6cfbe348bcda1594",
          "\u003e= 6714d8e86bf443f6f7af50f9d432025649f091f5, \u003c dce05b17db862f47ff60614017abe639b2e71cad",
          "\u003e= 6714d8e86bf443f6f7af50f9d432025649f091f5, \u003c 0e999d56917f861f97adb961617b1828c9eb4733",
          "\u003e= 6714d8e86bf443f6f7af50f9d432025649f091f5, \u003c 77686fa5bba135252d348e2dacf481fc19f60c41",
          "\u003e= 6714d8e86bf443f6f7af50f9d432025649f091f5, \u003c f33041906885f96e190cde54e61ddc69de39e3ee",
          "\u003e= 6714d8e86bf443f6f7af50f9d432025649f091f5, \u003c 50c4cc9183e11f83427efbf770f54851f4471c02",
          "\u003e= 6714d8e86bf443f6f7af50f9d432025649f091f5, \u003c a8facb1670b4a0612183198e758d9539ef628ed9",
          "\u003e= 6714d8e86bf443f6f7af50f9d432025649f091f5, \u003c b54e03d9b3697d25f4a0063cf717d459c5e3ad94"
        ],
        "fixed_in": [
          "4a5798253212093b9ff7d90c6cfbe348bcda1594",
          "dce05b17db862f47ff60614017abe639b2e71cad",
          "0e999d56917f861f97adb961617b1828c9eb4733",
          "77686fa5bba135252d348e2dacf481fc19f60c41",
          "f33041906885f96e190cde54e61ddc69de39e3ee",
          "50c4cc9183e11f83427efbf770f54851f4471c02",
          "a8facb1670b4a0612183198e758d9539ef628ed9",
          "b54e03d9b3697d25f4a0063cf717d459c5e3ad94"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.16"
        ],
        "fixed_in": [
          "0",
          "5.10.270",
          "5.15.221",
          "6.1.188",
          "6.6.157",
          "6.12.109",
          "6.18.50",
          "7.2.4",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4a5798253212093b9ff7d90c6cfbe348bcda1594 or dce05b17db862f47ff60614017abe639b2e71cad or 0e999d56917f861f97adb961617b1828c9eb4733 or 77686fa5bba135252d348e2dacf481fc19f60c41 or f33041906885f96e190cde54e61ddc69de39e3ee or 50c4cc9183e11f83427efbf770f54851f4471c02 or a8facb1670b4a0612183198e758d9539ef628ed9 or b54e03d9b3697d25f4a0063cf717d459c5e3ad94 or later.",
      "Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
