CVE-2026-52969
Gravedad CVSS v3.1:
ALTA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/06/2026
Última modificación:
15/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
KVM: Reject wrapped offset in kvm_reset_dirty_gfn()<br />
<br />
kvm_reset_dirty_gfn() guards the gfn range with<br />
<br />
if (!memslot || (offset + __fls(mask)) >= memslot->npages)<br />
return;<br />
<br />
but offset is u64 and the addition is unchecked. The check can be<br />
silently bypassed by a u64 wrap.<br />
<br />
The dirty ring backing those entries is MAP_SHARED at<br />
KVM_DIRTY_LOG_PAGE_OFFSET of the vcpu fd, so the VMM can rewrite the<br />
slot and offset fields of any entry between when the kernel pushes<br />
them and when KVM_RESET_DIRTY_RINGS consumes them. On reset,<br />
kvm_dirty_ring_reset() re-reads the values via READ_ONCE() and feeds<br />
them straight back into this check; only the flags handshake is<br />
treated as the handover, the slot/offset payload is taken on trust.<br />
<br />
Crafting two entries<br />
<br />
entry[i].offset = 0xffffffffffffffc1<br />
entry[i+1].offset = 0<br />
<br />
makes the coalescing loop in kvm_dirty_ring_reset() compute<br />
<br />
delta = (s64)(0 - 0xffffffffffffffc1) = 63<br />
<br />
which falls in [0, BITS_PER_LONG), so it folds entry[i+1] into the<br />
existing mask by setting bit 63. The trailing kvm_reset_dirty_gfn()<br />
call then sees offset = 0xffffffffffffffc1 and __fls(mask) = 63;<br />
the sum is 0 in u64 and the bounds check passes.<br />
<br />
That offset propagates into kvm_arch_mmu_enable_log_dirty_pt_masked()<br />
unchanged. On the legacy MMU path -- kvm_memslots_have_rmaps() ==<br />
true, i.e. shadow paging, any VM that has allocated shadow roots, or<br />
a write-tracked slot -- it reaches gfn_to_rmap(), which indexes<br />
slot->arch.rmap[0][] with a near-U64_MAX gfn. That is an<br />
out-of-bounds load of a kvm_rmap_head, followed by a conditional<br />
clear of PT_WRITABLE_MASK in whatever the loaded pointer points at.<br />
The path is reachable from any process holding /dev/kvm.<br />
<br />
Range-check offset on its own first, so the addition cannot wrap.<br />
memslot->npages is bounded well below U64_MAX, so once offset
Impacto
Puntuación base 3.x
7.80
Gravedad 3.x
ALTA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (incluyendo) | 5.15.209 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (incluyendo) | 6.1.175 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (incluyendo) | 6.6.141 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (incluyendo) | 6.12.91 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (incluyendo) | 6.18.33 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (incluyendo) | 7.0.10 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/01b71b930f15728aa8599478a7ce90c19dcd9fc2
- https://git.kernel.org/stable/c/0d419c23bb11b5c9664de777c47c1f04a235882d
- https://git.kernel.org/stable/c/0eb281eb95b2d4eea4db1da5fe91023aecc97095
- https://git.kernel.org/stable/c/577a8d3bae0531f0e5ccfac919cd8192f920a804
- https://git.kernel.org/stable/c/74f1a22f7a80f03d28ad8551a2d25d563433addf
- https://git.kernel.org/stable/c/b315b033a877b1ee6d827810b5d7bb4392ffcf8d
- https://git.kernel.org/stable/c/ecf9b3ea7847fe14f34b8c41f00de1eb95c747da
- https://access.redhat.com/security/cve/CVE-2026-52969
- https://bugzilla.redhat.com/show_bug.cgi?id=2492434
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52969.json



