Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-53043

ocfs2/dlm: validate qr_numregions in dlm_match_regions()
Back to all
CVE

CVE-2026-53043

ocfs2/dlm: validate qr_numregions in dlm_match_regions()

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

ocfs2/dlm: validate qrnumregions in dlmmatch_regions()

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

In dlmmatchregions(), the qrnumregions field from a DLMQUERY_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 O2NMMAXREGIONS. 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 qrnumregions field from a DLMQUERY_REGION network message is used

directly as loop bounds in dlmmatchregions() without checking against

O2NMMAXREGIONS.  Since qrregions is sized for at most O2NMMAX_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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/1f8b91275912cd428289c1fb424bebd7ff5302bd, https://git.kernel.org/stable/c/3c2d0de23ae4be22b6c18e8f0915be74d3b5fb21, https://git.kernel.org/stable/c/3f474c33ebc2e2ca3fcb587d7de4375348f13373, https://git.kernel.org/stable/c/6c6e8fc3c007319981647b410c29bb5775048551, https://git.kernel.org/stable/c/7ab3fbb01bc6d79091bc375e5235d360cd9b78be, https://git.kernel.org/stable/c/d3d5efade0c79dac1cac98c0cb1115432f804439, https://git.kernel.org/stable/c/f37de46149db49abd2b24f4f0c5a88cf4dfb5f47, https://git.kernel.org/stable/c/f69551139caf6d24242a0ad049ee46b264e3aee0, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53043.json, https://nvd.nist.gov/vuln/detail/CVE-2026-53043, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.00521%
EPSS Percentile
0.40594%
Introduced Version
ea2034416b54700e30371f2ad6517cbb94674083,2.6.37,5.11.0,5.16.0,6.2.0,6.7.0,6.13.0,6.19.0,0
Fix Available
7ab3fbb01bc6d79091bc375e5235d360cd9b78be,5.10.258,5.15.209,6.1.175,6.6.141,6.12.91,6.18.33,7.0.10,6.1.176-1,5.10.259-1,6.1.176-1~deb11u1,6.12.94-1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading