CVE-2026-53043 Details
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.
A vulnerability in the Linux kernel's OCFS2 distributed lock manager (DLM) component allows for out-of-bounds reads. This issue arises in the 'dlm_match_regions()' function, where the 'qr_numregions' field from a DLM_QUERY_REGION network message is used to control loops over the 'qr_regions' buffer without adequate validation. The problem can be exploited by sending a crafted message that exceeds the expected limits, leading to unauthorized memory access.
Users can apply the available patch in the Linux stable tree to address this vulnerability. The patch adds a bounds check for the 'qr_numregions' field before it is used in loops, preventing out-of-bounds reads.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1f8b91275912cd428289c1fb424bebd7ff5302bd | kernel.org | Patch |
| https://git.kernel.org/stable/c/3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3f474c33ebc2e2ca3fcb587d7de4375348f13373 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6c6e8fc3c007319981647b410c29bb5775048551 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7ab3fbb01bc6d79091bc375e5235d360cd9b78be | kernel.org | Patch |
| https://git.kernel.org/stable/c/d3d5efade0c79dac1cac98c0cb1115432f804439 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f37de46149db49abd2b24f4f0c5a88cf4dfb5f47 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f69551139caf6d24242a0ad049ee46b264e3aee0 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.37, < 5.10.258 >= 5.11, < 5.15.209 >= 5.16, < 6.1.175 >= 6.2, < 6.6.141 >= 6.7, < 6.12.91 >= 6.13, < 6.18.33 >= 6.19, < 7.0.10 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | Initial Analysis | [email protected] |
| Jun 28, 2026 | CVE Modified | kernel.org |
| Jun 24, 2026 | New CVE Received | kernel.org |