# CVE-2026-53043: ocfs2/dlm: validate qr\_numregions in dlm\_match\_regions()

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-06-24 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2026-53043, DEBIAN-CVE-2026-53043
- Record: https://cvemate.com/vulnerability/CVE-2026-53043 · JSON: https://cvemate.com/vulnerability/CVE-2026-53043/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

ocfs2/dlm: validate qr_numregions in dlm_match_regions()

Patch series "ocfs2/dlm: fix two bugs in dlm_match_regions()".

In dlm_match_regions(), the qr_numregions field from a DLM_QUERY_REGION
network message is used to drive loops over the qr_regions buffer without
sufficient validation.  This series fixes two issues:

- Patch 1 adds a bounds check to reject messages where qr_numregions
  exceeds O2NM_MAX_REGIONS. The o2net layer only validates message
  byte length; it does not constrain field values, so a crafted message
  can set qr_numregions up to 255 and trigger out-of-bounds reads past
  the 1024-byte qr_regions buffer.

- Patch 2 fixes an off-by-one in the local-vs-remote comparison loop,
  which uses '<=' instead of '<', reading one entry past the valid range
  even when qr_numregions is within bounds.


This patch (of 2):

The qr_numregions field from a DLM_QUERY_REGION network message is used
directly as loop bounds in dlm_match_regions() without checking against
O2NM_MAX_REGIONS.  Since qr_regions is sized for at most O2NM_MAX_REGIONS
(32) entries, a crafted message with qr_numregions > 32 causes
out-of-bounds reads past the qr_regions buffer.

Add a bounds check for qr_numregions before entering the loops.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.514%, percentile 45.332%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 170)

- debian linux (Debian): \< 6.1.176-1 \| \< 6.12.94-1 \| \< 7.0.10-1
- ubuntu linux (Ubuntu): \< 3.13.0-217.268 \| \< 4.4.0-287.321 \| \< 4.15.0-257.269 \| \< 5.4.0-238.258 \| \< 5.15.0-186.196 \| \< 6.8.0-136.136 \| All versions (No fix recorded) \| \< 7.0.0-28.28
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1158.164 \| \< 4.4.0-1196.211 \| \< 4.15.0-1196.209 \| \< 5.4.0-1163.174 \| \< 5.15.0-1112.119 \| \< 6.8.0-1061.64 \| All versions (No fix recorded) \| \< 7.0.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1163.174~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1061.64~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2134.140 \| All versions (No fix recorded) \| \< 5.4.0-1163.174+fips1 \| \< 5.15.0-1112.119+fips1 \| \< 6.8.0-1061.64+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1196.209~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1206.221~14.04.1 \| \< 4.15.0-1206.221~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1168.174 \| \< 5.15.0-1117.126 \| \< 6.8.0-1063.71 \| \< 7.0.0-1010.10

## References (first 20 of 64)

- <https://git.kernel.org/stable/c/d3d5efade0c79dac1cac98c0cb1115432f804439>
- <https://git.kernel.org/stable/c/f69551139caf6d24242a0ad049ee46b264e3aee0>
- <https://git.kernel.org/stable/c/1f8b91275912cd428289c1fb424bebd7ff5302bd>
- <https://git.kernel.org/stable/c/f37de46149db49abd2b24f4f0c5a88cf4dfb5f47>
- <https://git.kernel.org/stable/c/6c6e8fc3c007319981647b410c29bb5775048551>
- <https://git.kernel.org/stable/c/3f474c33ebc2e2ca3fcb587d7de4375348f13373>
- <https://git.kernel.org/stable/c/3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21>
- <https://git.kernel.org/stable/c/7ab3fbb01bc6d79091bc375e5235d360cd9b78be>
- <https://ubuntu.com/security/CVE-2026-53043>
- <https://www.cve.org/CVERecord?id=CVE-2026-53043>
- <https://git.kernel.org/linus/7ab3fbb01bc6d79091bc375e5235d360cd9b78be>
- <https://ubuntu.com/security/notices/USN-8566-1>
- <https://ubuntu.com/security/notices/USN-8568-1>
- <https://ubuntu.com/security/notices/USN-8569-1>
- <https://ubuntu.com/security/notices/USN-8567-1>
- <https://ubuntu.com/security/notices/USN-8574-1>
- <https://ubuntu.com/security/notices/USN-8575-1>
- <https://ubuntu.com/security/notices/USN-8576-1>
- <https://ubuntu.com/security/notices/USN-8593-1>
- <https://ubuntu.com/security/notices/USN-8574-2>

---

Data as of 2026-12-05T06:43:06.867Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
