Linux
ocfs2/dlm: fix off-by-one in dlm_match_regions() region comparison
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ea2034416b54700e30371f2ad6517cbb94674083, < 760ab35040aca8399021fdb9ff1db1089feb7194
- >= ea2034416b54700e30371f2ad6517cbb94674083, < c60a2710b73838d250cda57344c049b89abc5d52
- >= ea2034416b54700e30371f2ad6517cbb94674083, < 2a0673836f019e7c032acbf48d022d5ccf02a845
- >= ea2034416b54700e30371f2ad6517cbb94674083, < 819d8ebad3200a53de99bd7e297bc428e41ced54
- >= ea2034416b54700e30371f2ad6517cbb94674083, < d5403ae28085761d58b555645bc7d5feadb10073
- >= ea2034416b54700e30371f2ad6517cbb94674083, < 1fb7f356547d9688822315cd2b205ff0bd5429b4
- >= ea2034416b54700e30371f2ad6517cbb94674083, < 426cd8eedac89b86148d4478990eeef16e8a2520
- >= ea2034416b54700e30371f2ad6517cbb94674083, < 01b61e8dda9b0fdb0d4cda43de25f4e390554d7b
Fixed in 760ab35040aca8399021fdb9ff1db1089feb7194, c60a2710b73838d250cda57344c049b89abc5d52, 2a0673836f019e7c032acbf48d022d5ccf02a845, 819d8ebad3200a53de99bd7e297bc428e41ced54, d5403ae28085761d58b555645bc7d5feadb10073, 1fb7f356547d9688822315cd2b205ff0bd5429b4, 426cd8eedac89b86148d4478990eeef16e8a2520, 01b61e8dda9b0fdb0d4cda43de25f4e390554d7b
- 2.6.37
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to 760ab35040aca8399021fdb9ff1db1089feb7194 or c60a2710b73838d250cda57344c049b89abc5d52 or 2a0673836f019e7c032acbf48d022d5ccf02a845 or 819d8ebad3200a53de99bd7e297bc428e41ced54 or d5403ae28085761d58b555645bc7d5feadb10073 or 1fb7f356547d9688822315cd2b205ff0bd5429b4 or 426cd8eedac89b86148d4478990eeef16e8a2520 or 01b61e8dda9b0fdb0d4cda43de25f4e390554d7b or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.