{
  "id": "CVE-2026-53043",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53043",
  "published_at": "2026-06-24T16:29:49.48Z",
  "title": "ocfs2/dlm: validate qr_numregions in dlm_match_regions()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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/dlm: validate qr_numregions in dlm_match_regions()\n\nPatch series \"ocfs2/dlm: fix two bugs in dlm_match_regions()\".\n\nIn dlm_match_regions(), the qr_numregions field from a DLM_QUERY_REGION\nnetwork message is used to drive loops over the qr_regions buffer without\nsufficient validation.  This series fixes two issues:\n\n- Patch 1 adds a bounds check to reject messages where qr_numregions\n  exceeds O2NM_MAX_REGIONS. The o2net layer only validates message\n  byte length; it does not constrain field values, so a crafted message\n  can set qr_numregions up to 255 and trigger out-of-bounds reads past\n  the 1024-byte qr_regions buffer.\n\n- Patch 2 fixes an off-by-one in the local-vs-remote comparison loop,\n  which uses '\u003c=' instead of '\u003c', reading one entry past the valid range\n  even when qr_numregions is within bounds.\n\n\nThis patch (of 2):\n\nThe qr_numregions field from a DLM_QUERY_REGION network message is used\ndirectly as loop bounds in dlm_match_regions() without checking against\nO2NM_MAX_REGIONS.  Since qr_regions is sized for at most O2NM_MAX_REGIONS\n(32) entries, a crafted message with qr_numregions \u003e 32 causes\nout-of-bounds reads past the qr_regions buffer.\n\nAdd a bounds check for qr_numregions before entering the loops.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ea2034416b54700e30371f2ad6517cbb94674083, \u003c d3d5efade0c79dac1cac98c0cb1115432f804439",
          "\u003e= ea2034416b54700e30371f2ad6517cbb94674083, \u003c f69551139caf6d24242a0ad049ee46b264e3aee0",
          "\u003e= ea2034416b54700e30371f2ad6517cbb94674083, \u003c 1f8b91275912cd428289c1fb424bebd7ff5302bd",
          "\u003e= ea2034416b54700e30371f2ad6517cbb94674083, \u003c f37de46149db49abd2b24f4f0c5a88cf4dfb5f47",
          "\u003e= ea2034416b54700e30371f2ad6517cbb94674083, \u003c 6c6e8fc3c007319981647b410c29bb5775048551",
          "\u003e= ea2034416b54700e30371f2ad6517cbb94674083, \u003c 3f474c33ebc2e2ca3fcb587d7de4375348f13373",
          "\u003e= ea2034416b54700e30371f2ad6517cbb94674083, \u003c 3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21",
          "\u003e= ea2034416b54700e30371f2ad6517cbb94674083, \u003c 7ab3fbb01bc6d79091bc375e5235d360cd9b78be"
        ],
        "fixed_in": [
          "d3d5efade0c79dac1cac98c0cb1115432f804439",
          "f69551139caf6d24242a0ad049ee46b264e3aee0",
          "1f8b91275912cd428289c1fb424bebd7ff5302bd",
          "f37de46149db49abd2b24f4f0c5a88cf4dfb5f47",
          "6c6e8fc3c007319981647b410c29bb5775048551",
          "3f474c33ebc2e2ca3fcb587d7de4375348f13373",
          "3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21",
          "7ab3fbb01bc6d79091bc375e5235d360cd9b78be"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.37"
        ],
        "fixed_in": [
          "0",
          "5.10.258",
          "5.15.209",
          "6.1.175",
          "6.6.141",
          "6.12.91",
          "6.18.33",
          "7.0.10",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to d3d5efade0c79dac1cac98c0cb1115432f804439 or f69551139caf6d24242a0ad049ee46b264e3aee0 or 1f8b91275912cd428289c1fb424bebd7ff5302bd or f37de46149db49abd2b24f4f0c5a88cf4dfb5f47 or 6c6e8fc3c007319981647b410c29bb5775048551 or 3f474c33ebc2e2ca3fcb587d7de4375348f13373 or 3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21 or 7ab3fbb01bc6d79091bc375e5235d360cd9b78be or later.",
      "Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
