8.8high
KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort() Commit fce886a60207 ("KVM: arm64: Plumb the pKVM MMU in KVM") made the initialization of the local memcache variable in user_mem_abort() conditional, leaving a codepath where it is used uninitialized via kvm_pgtable_stage2_map(). This can fail on any path that requires a stage-2 allocation without transition via a permission fault or dirty logging. Fix this by making sure that memcache is always valid.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from fce886a6020734d6253c2c5a3bc285e385cc5496 before a26d50f8a4a5049e956984797b5d0dedea4bbb18, from fce886a6020734d6253c2c5a3bc285e385cc5496 before 157dbc4a321f5bb6f8b6c724d12ba720a90f1a7c, 6.14 Not affected: before 6.14, from 6.14.7 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | from 6.14 before 6.14.7, 6.15 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort() Commit fce886a60207 ("KVM: arm64: Plumb the pKVM MMU in KVM") made the initialization of the local memcache variable in user_mem_abort() conditional, leaving a codepath where it is used uninitialized via kvm_pgtable_stage2_map(). This can fail on any path that requires a stage-2 allocation without transition via a permission fault or dirty logging. Fix this by making sure that memcache is always valid.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: KVM: arm64: Corrección de un puntero de memcache no inicializado en user_mem_abort(). El commit fce886a60207 ("KVM: arm64: Conectar la MMU pKVM en KVM") hizo que la inicialización de la variable de memcache local en user_mem_abort() fuera condicional, dejando la ruta de código donde se usa sin inicializar mediante kvm_pgtable_stage2_map(). Esto puede fallar en cualquier ruta que requiera una asignación de etapa 2 sin transición debido a un fallo de permiso o un registro incorrecto. Para solucionar esto, asegúrese de que la memcache sea siempre válida.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37996 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-37996 changed 2026-07-30 | Public domain |