# CVE-2026-53309: ocfs2/dlm: fix off-by-one in dlm_match_regions() region comparison

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 51% of CVEs (2026-11-30)
- Published: 2026-06-26T19:41:03.505Z
- Modified: 2026-08-05T12:34:59.157Z
- Weaknesses: CWE-193
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ea2034416b54700e30371f2ad6517cbb94674083 before 760ab35040aca8399021fdb9ff1db1089feb7194; from ea2034416b54700e30371f2ad6517cbb94674083 before c60a2710b73838d250cda57344c049b89abc5d52; from ea2034416b54700e30371f2ad6517cbb94674083 before 2a0673836f019e7c032acbf48d022d5ccf02a845; from ea2034416b54700e30371f2ad6517cbb94674083 before 819d8ebad3200a53de99bd7e297bc428e41ced54; from ea2034416b54700e30371f2ad6517cbb94674083 before d5403ae28085761d58b555645bc7d5feadb10073; from ea2034416b54700e30371f2ad6517cbb94674083 before 1fb7f356547d9688822315cd2b205ff0bd5429b4; from ea2034416b54700e30371f2ad6517cbb94674083 before 426cd8eedac89b86148d4478990eeef16e8a2520; from ea2034416b54700e30371f2ad6517cbb94674083 before 01b61e8dda9b0fdb0d4cda43de25f4e390554d7b; 2.6.37 (not affected: before 2.6.37; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.37 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/760ab35040aca8399021fdb9ff1db1089feb7194> (patch)
- <https://git.kernel.org/stable/c/c60a2710b73838d250cda57344c049b89abc5d52> (patch)
- <https://git.kernel.org/stable/c/2a0673836f019e7c032acbf48d022d5ccf02a845> (patch)
- <https://git.kernel.org/stable/c/819d8ebad3200a53de99bd7e297bc428e41ced54> (patch)
- <https://git.kernel.org/stable/c/d5403ae28085761d58b555645bc7d5feadb10073> (patch)
- <https://git.kernel.org/stable/c/1fb7f356547d9688822315cd2b205ff0bd5429b4> (patch)
- <https://git.kernel.org/stable/c/426cd8eedac89b86148d4478990eeef16e8a2520> (patch)
- <https://git.kernel.org/stable/c/01b61e8dda9b0fdb0d4cda43de25f4e390554d7b> (patch)

## Sources

- CVE List: [CVE-2026-53309](https://www.cve.org/CVERecord?id=CVE-2026-53309), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-53309](https://nvd.nist.gov/vuln/detail/CVE-2026-53309), Public domain, modified 2026-07-06

---

Page: https://cve.day/CVE-2026-53309 · Whole record: https://cve.day/CVE-2026-53309.json · Rebuilt by cve.day 2026-11-25T22:59:26.534Z
