CVE-2025-37996

KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()

published May 29, 2025

CVSS
—
EPSS
0%
Percentile
4.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00161 · 4.9th percentile
Published
2025-05-29T13:15Z
EPSS history
Timeline
  • 29 MAY 13:15Z
    KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()
    cvelistv5