CVE-2025-37996

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37996
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37996.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37996
Downstream
Published
2025-05-29T13:15:54Z
Modified
2025-10-22T11:47:49.649030Z
Summary
KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Commit fce886a60207 ("KVM: arm64: Plumb the pKVM MMU in KVM") made the initialization of the local memcache variable in usermemabort() conditional, leaving a codepath where it is used uninitialized via kvmpgtablestage2_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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fce886a6020734d6253c2c5a3bc285e385cc5496
Fixed
a26d50f8a4a5049e956984797b5d0dedea4bbb18
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fce886a6020734d6253c2c5a3bc285e385cc5496
Fixed
157dbc4a321f5bb6f8b6c724d12ba720a90f1a7c

Affected versions

v6.*

v6.13
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.14.1
v6.14.2
v6.14.3
v6.14.4
v6.14.5
v6.14.6
v6.15-rc1
v6.15-rc2
v6.15-rc3
v6.15-rc4

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.7