# CVE-2025-37996: KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-05-29T13:15:54.956Z
- Modified: 2026-08-05T11:58:48.143Z
- Weaknesses: CWE-908
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.14 before 6.14.7; 6.15

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/a26d50f8a4a5049e956984797b5d0dedea4bbb18> (patch)
- <https://git.kernel.org/stable/c/157dbc4a321f5bb6f8b6c724d12ba720a90f1a7c> (patch)

## Sources

- CVE List: [CVE-2025-37996](https://www.cve.org/CVERecord?id=CVE-2025-37996), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-37996](https://nvd.nist.gov/vuln/detail/CVE-2025-37996), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-37996 · Whole record: https://cve.day/CVE-2025-37996.json · Rebuilt by cve.day 2026-11-25T22:58:58.553Z
