{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-89494","id":"CVE-2026-89494","title":"ocfs2: validate lengths in dlm_mig_lockres_handler","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","descriptionLong":"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->ml[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->lockname\nwith the unbounded lockname_len as a %.*s precision.  Reject the message\nunless lockname_len <= DLM_LOCKID_NAME_MAX, num_locks <=\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.","published":"2026-09-11T19:43:45.455Z","updated":"2026-11-18T19:57:36.828601601Z","reserved":"2026-09-11T19:38:34.714Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"4a5798253212093b9ff7d90c6cfbe348bcda1594","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"dce05b17db862f47ff60614017abe639b2e71cad","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"0e999d56917f861f97adb961617b1828c9eb4733","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"77686fa5bba135252d348e2dacf481fc19f60c41","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"f33041906885f96e190cde54e61ddc69de39e3ee","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"50c4cc9183e11f83427efbf770f54851f4471c02","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"a8facb1670b4a0612183198e758d9539ef628ed9","status":"affected","versionType":"git"},{"version":"6714d8e86bf443f6f7af50f9d432025649f091f5","lessThan":"b54e03d9b3697d25f4a0063cf717d459c5e3ad94","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.16","status":"affected"},{"version":"0","lessThan":"2.6.16","status":"unaffected","versionType":"semver"},{"version":"5.10.270","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.221","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.188","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.157","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.109","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.50","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.4","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4a5798253212093b9ff7d90c6cfbe348bcda1594","tags":["web"]},{"url":"https://git.kernel.org/stable/c/dce05b17db862f47ff60614017abe639b2e71cad","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0e999d56917f861f97adb961617b1828c9eb4733","tags":["web"]},{"url":"https://git.kernel.org/stable/c/77686fa5bba135252d348e2dacf481fc19f60c41","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f33041906885f96e190cde54e61ddc69de39e3ee","tags":["web"]},{"url":"https://git.kernel.org/stable/c/50c4cc9183e11f83427efbf770f54851f4471c02","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a8facb1670b4a0612183198e758d9539ef628ed9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b54e03d9b3697d25f4a0063cf717d459c5e3ad94","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89494.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89494","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00714,"epssPercentile":0.54436,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-89494","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89494","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-89494","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-89494","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}