Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ea2034416b54700e30371f2ad6517cbb94674083 before 760ab35040aca8399021fdb9ff1db1089feb7194; affected ea2034416b54700e30371f2ad6517cbb94674083 before c60a2710b73838d250cda57344c049b89abc5d52; affected ea2034416b54700e30371f2ad6517cbb94674083 before 2a0673836f019e7c032acbf48d022d5ccf02a845; affected ea2034416b54700e30371f2ad6517cbb94674083 before 819d8ebad3200a53de99bd7e297bc428e41ced54; affected ea2034416b54700e30371f2ad6517cbb94674083 before d5403ae28085761d58b555645bc7d5feadb10073; affected ea2034416b54700e30371f2ad6517cbb94674083 before 1fb7f356547d9688822315cd2b205ff0bd5429b4; affected ea2034416b54700e30371f2ad6517cbb94674083 before 426cd8eedac89b86148d4478990eeef16e8a2520; affected ea2034416b54700e30371f2ad6517cbb94674083 before 01b61e8dda9b0fdb0d4cda43de25f4e390554d7b |
| Linux / Linux | affected 2.6.37; unaffected 0 before 2.6.37; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.141 through 6.6.*; unaffected 6.12.91 through 6.12.*; unaffected 6.18.33 through 6.18.*; unaffected 7.0.10 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/760ab35040aca8399021fdb9ff1db1089feb7194
- https://git.kernel.org/stable/c/c60a2710b73838d250cda57344c049b89abc5d52
- https://git.kernel.org/stable/c/2a0673836f019e7c032acbf48d022d5ccf02a845
- https://git.kernel.org/stable/c/819d8ebad3200a53de99bd7e297bc428e41ced54
- https://git.kernel.org/stable/c/d5403ae28085761d58b555645bc7d5feadb10073
- https://git.kernel.org/stable/c/1fb7f356547d9688822315cd2b205ff0bd5429b4
- https://git.kernel.org/stable/c/426cd8eedac89b86148d4478990eeef16e8a2520
- https://git.kernel.org/stable/c/01b61e8dda9b0fdb0d4cda43de25f4e390554d7b