CVE-2026-53309

ocfs2/dlm: fix off-by-one in dlm_match_regions() region comparison

Published Jun 26, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ocfs2/dlm: fix off-by-one in dlm_match_regions() region comparison

The local-vs-remote region comparison loop uses '<=' instead of '<',
causing it to read one entry past the valid range of qr_regions. The
other loops in the same function correctly use '<'.

Fix the loop condition to use '<' for consistency and correctness.

Analysis

AI-generated

Technical impact

The Linux kernel’s ocfs2 and DLM components contain an off‑by‑one error in the dlm_match_regions() routine. The local‑vs‑remote region comparison loop incorrectly uses "<=" instead of "<", which causes the code to read one entry beyond the end of the qr_regions array. This out‑of‑bounds read can expose kernel memory contents or trigger a crash, leading to either information disclosure or denial of service. The weakness is a classic memory corruption flaw involving improper bounds checking.

Affected Systems

All Linux kernel distributions that include the ocfs2 filesystem and the Dynamic Lock Manager (DLM) are affected. The specific affected versions are not listed in the CVE data, so any kernel release containing the described components may be vulnerable unless it has been patched since the issue was discovered.

Risk and Exploitability

The CVSS score of 9.8 reflects critical severity, while the EPSS score is less than 1 % and the vulnerability is not in the CISA KEV catalog. The flaw requires a local or privileged attacker who can invoke dlm_match_regions(), meaning that remote exploitation is unlikely with the information given. The risk is high for systems running vulnerable ocfs2/DLM configurations, but the low exploitation probability and lack of a known remote trigger reduce the immediate threat level compared to typical remote‑attackable vulnerabilities.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that changes the loop condition from '<=' to '<', addressing the off‑by‑one error identified by CWE‑193.
  • After applying the patch, verify that all array accesses in DLM region handling perform bounds checks, mitigating the out‑of‑bounds read vulnerability (CWE‑125).
  • If an immediate patch is unavailable, unload or disable the ocfs2 filesystem and the Dynamic Lock Manager module to eliminate the vulnerable code path until a compliant implementation is available.

Generated by OpenCVE AI on August 13, 2026 at 19:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4664-1 linux security update
Debian DLA Debian DLA DLA-4665-1 linux security update
Debian DLA Debian DLA DLA-4671-1 linux-6.1 security update
Ubuntu USN Ubuntu USN USN-8566-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8567-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8568-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-1 Linux kernel (GCP FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8596-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-2 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8608-1 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8610-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8574-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8595-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-2 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-3 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-4 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-8644-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8645-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8646-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8644-2 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8665-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8668-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8644-3 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8714-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8715-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8714-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8725-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8748-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8714-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8715-2 Linux kernel (AWS FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8725-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8668-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8850-1 Linux kernel (BlueField) vulnerabilities
Ubuntu USN Ubuntu USN USN-8911-1 Linux kernel (OEM) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-119
CWE-20
Type Values Removed Values Added
Weaknesses CWE-119
CWE-125
CWE-20
Type Values Removed Values Added
Weaknesses CWE-119
CWE-193
Type Values Removed Values Added
Weaknesses CWE-119
CWE-193
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ocfs2/dlm: fix off-by-one in dlm_match_regions() region comparison The local-vs-remote region comparison loop uses '<=' instead of '<', causing it to read one entry past the valid range of qr_regions. The other loops in the same function correctly use '<'. Fix the loop condition to use '<' for consistency and correctness.
Title ocfs2/dlm: fix off-by-one in dlm_match_regions() region comparison
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:34 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jun 26, 2026, 8:17 PM
Modified
Jul 6, 2026, 8:14 PM
Severity
Public date
Jun 26, 2026, 12:00 AM