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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.73% (percentile 50, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-06-24T16:29:49.480Z
- **Modified:** 2026-08-05T12:32:50.728Z

## Who should check

- Anyone running Linux \>= ea2034416b54700e30371f2ad6517cbb94674083, \< d3d5efade0c79dac1cac98c0cb1115432f804439; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< f69551139caf6d24242a0ad049ee46b264e3aee0; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 1f8b91275912cd428289c1fb424bebd7ff5302bd; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< f37de46149db49abd2b24f4f0c5a88cf4dfb5f47; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 6c6e8fc3c007319981647b410c29bb5775048551; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 3f474c33ebc2e2ca3fcb587d7de4375348f13373; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 7ab3fbb01bc6d79091bc375e5235d360cd9b78be
- Anyone running Linux 2.6.37

## Description

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.

## Affected and fixed versions

- Linux: \>= ea2034416b54700e30371f2ad6517cbb94674083, \< d3d5efade0c79dac1cac98c0cb1115432f804439; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< f69551139caf6d24242a0ad049ee46b264e3aee0; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 1f8b91275912cd428289c1fb424bebd7ff5302bd; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< f37de46149db49abd2b24f4f0c5a88cf4dfb5f47; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 6c6e8fc3c007319981647b410c29bb5775048551; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 3f474c33ebc2e2ca3fcb587d7de4375348f13373; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 7ab3fbb01bc6d79091bc375e5235d360cd9b78be (cvelist)
- Linux: 2.6.37 (cvelist)

## Mitigation

- Upgrade Linux to 7ab3fbb01bc6d79091bc375e5235d360cd9b78be or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53043. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53043.md
Affected: Linux >= ea2034416b54700e30371f2ad6517cbb94674083, < d3d5efade0c79dac1cac98c0cb1115432f804439; >= ea2034416b54700e30371f2ad6517cbb94674083, < f69551139caf6d24242a0ad049ee46b264e3aee0; >= ea2034416b54700e30371f2ad6517cbb94674083, < 1f8b91275912cd428289c1fb424bebd7ff5302bd; >= ea2034416b54700e30371f2…
Fixed in: Linux 1f8b91275912cd428289c1fb424bebd7ff5302bd, Linux 6c6e8fc3c007319981647b410c29bb5775048551, Linux 3f474c33ebc2e2ca3fcb587d7de4375348f13373, Linux 3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21, Linux 7ab3fbb01bc6d79091bc375e5235d360cd9b78be

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53043 being exploited?

There is no confirmed exploitation: CVE-2026-53043 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-53043?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-53043?

Linux \>= ea2034416b54700e30371f2ad6517cbb94674083, \< d3d5efade0c79dac1cac98c0cb1115432f804439; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< f69551139caf6d24242a0ad049ee46b264e3aee0; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 1f8b91275912cd428289c1fb424bebd7ff5302bd; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< f37de46149db49abd2b24f4f0c5a88cf4dfb5f47; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 6c6e8fc3c007319981647b410c29bb5775048551; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 3f474c33ebc2e2ca3fcb587d7de4375348f13373; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21; \>= ea2034416b54700e30371f2ad6517cbb94674083, \< 7ab3fbb01bc6d79091bc375e5235d360cd9b78be; Linux 2.6.37.

### Is there a fix for CVE-2026-53043?

Yes. Fixed in Linux 1f8b91275912cd428289c1fb424bebd7ff5302bd, Linux 6c6e8fc3c007319981647b410c29bb5775048551, Linux 3f474c33ebc2e2ca3fcb587d7de4375348f13373, Linux 3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21, Linux 7ab3fbb01bc6d79091bc375e5235d360cd9b78be. Upgrade Linux to 7ab3fbb01bc6d79091bc375e5235d360cd9b78be or later.

### How do I check if I'm affected by CVE-2026-53043?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d3d5efade0c79dac1cac98c0cb1115432f804439>
- patch: <https://git.kernel.org/stable/c/f69551139caf6d24242a0ad049ee46b264e3aee0>
- patch: <https://git.kernel.org/stable/c/1f8b91275912cd428289c1fb424bebd7ff5302bd>
- patch: <https://git.kernel.org/stable/c/f37de46149db49abd2b24f4f0c5a88cf4dfb5f47>
- patch: <https://git.kernel.org/stable/c/6c6e8fc3c007319981647b410c29bb5775048551>
- patch: <https://git.kernel.org/stable/c/3f474c33ebc2e2ca3fcb587d7de4375348f13373>
- patch: <https://git.kernel.org/stable/c/3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21>
- patch: <https://git.kernel.org/stable/c/7ab3fbb01bc6d79091bc375e5235d360cd9b78be>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53043>

HTML: <https://flawdb.com/CVE-2026-53043> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53043>
