CVE-2026-53043
ocfs2/dlm: validate qr_numregions in dlm_match_regions()
Reported by linux · Published June 24, 2026
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.
EPSS 0.51% · 44.7th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.0.10, 6.18.33, 6.12.91, 6.6.141, 6.1.175, 5.15.209, 5.10.258 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ea2034416b54700e30371f2ad6517cbb94674083, ea2034416b54700e30371f2ad6517cbb94674083, ea2034416b54700e30371f2ad6517cbb94674083 |
| Linux | Linux | 2.6.37, 0, 5.10.258 |
| linux | linux_kernel | 2.6.37, 2.6.37, 2.6.37 |
| Linux | Linux | *, *, * |
Timeline
- Jun 24, 2026 CVE Published
- Jun 25, 2026 EPSS Score (30 in total, the first dated here)
- Jun 25, 2026 Coalition ESS Score
- Jul 14, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
- Aug 11, 2026 Security Advisory (63 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53043
vulnetix vdb fixes CVE-2026-53043
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53043/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart