5.5medium
mshv: Fix infinite fault loop on permission-denied GPA intercepts
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: mshv: Fix infinite fault loop on permission-denied GPA intercepts Prevent infinite fault loops when guests access memory regions without proper permissions. Currently, mshv_handle_gpa_intercept() attempts to remap pages for all faults on movable memory regions, regardless of whether the access type is permitted. When a guest writes to a read-only region, the remap succeeds but the region remains read-only, causing immediate re-fault and spinning the vCPU indefinitely. Validate intercept access type against region permissions before attempting remaps. Reject writes to non-writable regions and executes to non-executable regions early, returning false to let the VMM handle the intercept appropriately. This also closes a potential DoS vector where malicious guests could intentionally trigger these fault loops to consume host resources.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 before 02226839079ccc558820a3b25c4c46812927b4ba, from b9a66cd5ccbb9fade15d0e427e19470d8ad35b75 before 16cbec24897624051b324aa3a85859c38ca65fde, 6.19 Not affected: before 6.19, from 6.19.14 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.19 before 6.19.14, 7.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: mshv: Fix infinite fault loop on permission-denied GPA intercepts Prevent infinite fault loops when guests access memory regions without proper permissions. Currently, mshv_handle_gpa_intercept() attempts to remap pages for all faults on movable memory regions, regardless of whether the access type is permitted. When a guest writes to a read-only region, the remap succeeds but the region remains read-only, causing immediate re-fault and spinning the vCPU indefinitely. Validate intercept access type against region permissions before attempting remaps. Reject writes to non-writable regions and executes to non-executable regions early, returning false to let the VMM handle the intercept appropriately. This also closes a potential DoS vector where malicious guests could intentionally trigger these fault loops to consume host resources.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mshv: Soluciona el bucle de fallo infinito en intercepciones GPA con permisos denegados Evita los bucles de fallo infinitos cuando los invitados acceden a regiones de memoria sin los permisos adecuados. Actualmente, mshv_handle_gpa_intercept() intenta remapear páginas para todos los fallos en regiones de memoria movibles, independientemente de si el tipo de acceso está permitido. Cuando un invitado escribe en una región de solo lectura, el remapeo tiene éxito, pero la región permanece de solo lectura, causando un nuevo fallo inmediato y manteniendo la vCPU en un bucle indefinido. Valida el tipo de acceso de intercepción contra los permisos de la región antes de intentar los remapeos. Rechaza las escrituras a regiones no escribibles y las ejecuciones a regiones no ejecutables de forma temprana, devolviendo falso para permitir que el VMM maneje la intercepción de forma adecuada. Esto también cierra un posible vector de DoS donde invitados maliciosos podrían desencadenar intencionalmente estos bucles de fallo para consumir recursos del host.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43096 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43096 changed 2026-11-11 | Public domain |