CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-53043

Critical · CVSS 9.1

Linux Kernel (ocfs2/dlm) — Out-of-bounds read via insufficient field validation in network message parsing

CVSS
9.1
nvd
EPSS
KEV
No
Class
oss containerizable
CWE-787

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.

Search profile — drives PoC discovery

Symbols dlm_match_regionsqr_numregionsDLM_QUERY_REGIONqr_regionsO2NM_MAX_REGIONSo2netdlm_query_region
Keywords CVE-2026-53043ocfs2 dlm out-of-bounds readdlm_match_regions qr_numregionsDLM_QUERY_REGION bounds checkocfs2 dlm qr_regions buffer overflowLinux kernel ocfs2 dlm patchqr_numregions O2NM_MAX_REGIONS validation
Versions: Linux kernel versions prior to fixes at commits 1f8b91275912, 3c2d0de23ae4, 3f474c33ebc2, 6c6e8fc3c007, 7ab3fbb01bc6

Affected packages

Linux Kernel 2.6.37 → 5.10.258
Linux Kernel 5.11.0 → 5.15.209
Linux Kernel 5.16.0 → 6.1.175
Linux Kernel 6.13.0 → 6.18.33
Linux Kernel 6.19.0 → 7.0.10
Linux Kernel 6.2.0 → 6.6.141
Linux Kernel 6.7.0 → 6.12.91

References

Status: enriched · ingested 2026-07-11T00:00:26.000Z · profiled 2026-07-11T00:30:26.000Z