CVE-2026-53043: ocfs2/dlm: validate qr_numregions in dlm_match_regions()

Published Jun 24, 2026
·
Updated

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

ocfs2/dlm: validate qrnumregions in dlmmatchregions()

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

In dlmmatchregions(), the qrnumregions field from a DLMQUERYREGION network message is used to drive loops over the qrregions buffer without sufficient validation. This series fixes two issues:

- Patch 1 adds a bounds check to reject messages where qrnumregions exceeds O2NMMAXREGIONS. The o2net layer only validates message byte length; it does not constrain field values, so a crafted message can set qrnumregions up to 255 and trigger out-of-bounds reads past the 1024-byte qrregions 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 qrnumregions is within bounds.

This patch (of 2):

The qrnumregions field from a DLMQUERYREGION network message is used directly as loop bounds in dlmmatchregions() without checking against O2NMMAXREGIONS. Since qrregions is sized for at most O2NMMAXREGIONS (32) entries, a crafted message with qrnumregions > 32 causes out-of-bounds reads past the qrregions buffer.

Add a bounds check for qrnumregions before entering the loops.

Affected Software

8 affected components
Linux OCFS2 DLM (Linux kernel)
Linux Linux kernel>=2.6.37<5.10.258
Linux Linux kernel>=5.11<5.15.209
Linux Linux kernel>=5.16<6.1.175
Linux Linux kernel>=6.2<6.6.141
Linux Linux kernel>=6.7<6.12.91
Linux Linux kernel>=6.13<6.18.33
Linux Linux kernel>=6.19<7.0.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ocfs2/dlm to a version that resolves this vulnerability.

    Patch ocfs2/dlm: fix two bugs in dlm_match_regions()
  2. Configuration

    Add a bounds check for qr_numregions before entering loops in dlm_match_regions() so that qr_numregions cannot exceed the maximum size of the qr_regions buffer (O2NM_MAX_REGIONS / qr_regions sized for at most O2NM_MAX_REGIONS).

    ocfs2/dlm (dlm_match_regions()) qr_numregions bounds validation vs O2NM_MAX_REGIONS = reject DLM_QUERY_REGION messages where qr_numregions exceeds O2NM_MAX_REGIONS
  3. Configuration

    Fix the off-by-one in the local-vs-remote comparison loop in dlm_match_regions() by correcting the loop condition (use '<' instead of '<=' to prevent one extra out-of-bounds read).

    ocfs2/dlm (dlm_match_regions()) local-vs-remote comparison loop bound = use '<' instead of '<=' (avoid reading one entry past the valid range)

Event History

Jun 24, 2026
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
DescriptionSeverity
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-53043?

CVE-2026-53043 has been rated with a critical severity score of 9.1.

2

How do I fix CVE-2026-53043?

To mitigate CVE-2026-53043, you should update your Linux kernel to the latest patched version that resolves the vulnerability.

3

What are the potential impacts of CVE-2026-53043?

CVE-2026-53043 could lead to denial of service conditions due to improper validation in the kernel's DLM component.

4

Which software is affected by CVE-2026-53043?

CVE-2026-53043 specifically affects the Linux kernel and the OCFS2 DLM subsystem.

5

What is the nature of CVE-2026-53043?

CVE-2026-53043 is a vulnerability that involves insufficient validation of the qr_numregions field in the dlm_match_regions function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203