Linux: Improper Validation of Array Index
CVE-2026-52969 is a high-severity improper validation of array index vulnerability in Linux, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 74f1a22f7a80f03d28ad8551a2d25d563433addf, 0eb281eb95b2d4eea4db1da5fe91023aecc97095, 01b71b930f15728aa8599478a7ce90c19dcd9fc2 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.19% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to 74f1a22f7a80f03d28ad8551a2d25d563433addf or 0eb281eb95b2d4eea4db1da5fe91023aecc97095 or 01b71b930f15728aa8599478a7ce90c19dcd9fc2 or b315b033a877b1ee6d827810b5d7bb4392ffcf8d, whichever matches your release line, or a later version.
- Update Linux Kernel to 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | fb04a1eddb1a65b6588a021bdc132270d5ae48bb up to, but not including, 74f1a22f7a80f03d28ad8551a2d25d563433addf; fb04a1eddb1a65b6588a021bdc132270d5ae48bb up to, but not including, 0eb281eb95b2d4eea4db1da5fe91023aecc97095; fb04a1eddb1a65b6588a021bdc132270d5ae48bb up to, but not including, 01b71b930f15728aa8599478a7ce90c19dcd9fc2; fb04a1eddb1a65b6588a021bdc132270d5ae48bb up to, but not including, b315b033a877b1ee6d827810b5d7bb4392ffcf8d; fb04a1eddb1a65b6588a021bdc132270d5ae48bb up to, but not including, 0d419c23bb11b5c9664de777c47c1f04a235882d; fb04a1eddb1a65b6588a021bdc132270d5ae48bb up to, but not including, ecf9b3ea7847fe14f34b8c41f00de1eb95c747da; fb04a1eddb1a65b6588a021bdc132270d5ae48bb up to, but not including, 577a8d3bae0531f0e5ccfac919cd8192f920a804; 5.11 | 74f1a22f7a80f03d28ad8551a2d25d563433addf, 0eb281eb95b2d4eea4db1da5fe91023aecc97095, 01b71b930f15728aa8599478a7ce90c19dcd9fc2, b315b033a877b1ee6d827810b5d7bb4392ffcf8d, 0d419c23bb11b5c9664de777c47c1f04a235882d, ecf9b3ea7847fe14f34b8c41f00de1eb95c747da |
| Red Hat | Red Hat Enterprise Linux 10 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 6 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 7 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 9 | Not specified in the record | Not stated |
| Linux | Linux Kernel | 5.11 up to, but not including, 5.15.209; 5.16 up to, but not including, 6.1.175; 6.2 up to, but not including, 6.6.141; 6.7 up to, but not including, 6.12.91; 6.13 up to, but not including, 6.18.33; 6.19 up to, but not including, 7.0.10; 7.1 | 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | NVD |
| CVSS 3.1 | 7.0 | High | CNA |
Official description
In the Linux kernel, the following vulnerability has been resolved: KVM: Reject wrapped offset in kvm_reset_dirty_gfn() kvm_reset_dirty_gfn() guards the gfn range with if (!memslot || (offset + __fls(mask)) >= memslot->npages) return; but offset is u64 and the addition is unchecked. The check can be silently bypassed by a u64 wrap. The dirty ring backing those entries is MAP_SHARED at KVM_DIRTY_LOG_PAGE_OFFSET of the vcpu fd, so the VMM can rewrite the slot and offset fields of any entry between when the kernel pushes them and when KVM_RESET_DIRTY_RINGS consumes them. On reset, kvm_dirty_ring_reset() re-reads the values via READ_ONCE() and feeds them straight back into this check; only the flags handshake is treated as the handover, the slot/offset payload is taken on trust. Crafting two entries entry[i].offset = 0xffffffffffffffc1 entry[i+1].offset = 0 makes the coalescing loop in kvm_dirty_ring_reset() compute delta = (s64)(0 - 0xffffffffffffffc1) = 63 which falls in [0, BITS_PER_LONG), so it folds entry[i+1] into the existing mask by setting bit 63. The trailing kvm_reset_dirty_gfn() call then sees offset = 0xffffffffffffffc1 and __fls(mask) = 63; the sum is 0 in u64 and the bounds check passes. That offset propagates into kvm_arch_mmu_enable_log_dirty_pt_masked() unchanged. On the legacy MMU path -- kvm_memslots_have_rmaps() == true, i.e. shadow paging, any VM that has allocated shadow roots, or a write-tracked slot -- it reaches gfn_to_rmap(), which indexes slot->arch.rmap[0][] with a near-U64_MAX gfn. That is an out-of-bounds load of a kvm_rmap_head, followed by a conditional clear of PT_WRITABLE_MASK in whatever the loaded pointer points at. The path is reachable from any process holding /dev/kvm. Range-check offset on its own first, so the addition cannot wrap. memslot->npages is bounded well below U64_MAX, so once offset < npages holds, offset + __fls(mask) (with __fls(mask) < BITS_PER_LONG) stays in range.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Validation of Array Index
The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
How developers prevent this class of flaw
- Use an input validation framework such as Struts or the OWASP ESAPI Validation API. Note that using a framework does not automatically address all input validation problems; be mindful of weaknesses that could arise from misusing the framework itself (CWE-1173).
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, Ada allows the programmer to constrain the values of a variable and languages such as Java and Ruby will allow the programmer to handle exceptions when an out-of-bounds index is accessed.
- Use a CPU and operating system that offers Data Execution Protection (using hardware NX or XD bits) or the equivalent techniques that simulate this feature in software, such as PaX. These techniques ensure that any instruction executed is exclusively at a memory address that is part of the code segment. For more information on these techniques see D3-PSEP (Process Segment Execution Prevention) from D3FEND.
More Improper Validation of Array Index vulnerabilities (CWE-129)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/01b71b930f15728aa8599478a7ce90c19dcd9fc2
- git.kernel.org/stable/c/0d419c23bb11b5c9664de777c47c1f04a235882d
- git.kernel.org/stable/c/0eb281eb95b2d4eea4db1da5fe91023aecc97095
- git.kernel.org/stable/c/577a8d3bae0531f0e5ccfac919cd8192f920a804
- git.kernel.org/stable/c/74f1a22f7a80f03d28ad8551a2d25d563433addf
- git.kernel.org/stable/c/b315b033a877b1ee6d827810b5d7bb4392ffcf8d
- git.kernel.org/stable/c/ecf9b3ea7847fe14f34b8c41f00de1eb95c747da
Third-party and government advisories
- access.redhat.com/security/cve/CVE-2026-52969Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2492434Third Party Advisory
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52969.jsonThird Party Advisory
Recent Improper Validation of Array Index vulnerabilities
- 9.1 Critical severity
- 7.1 High severity
- 7.3 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.