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

Published May 29, 2025
·
Updated

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 kvmpgtablestage2map().

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 Software

7 affected components
Linux Kernel
Linux Linux kernel>=6.14<6.14.7
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5

Event History

May 29, 2025
CVE Published
via MITRE·01:15 PM
Data Sourced
via MITRE·01:15 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37996?

CVE-2025-37996 has a mild severity level, primarily affecting the proper initialization of a memcache pointer.

2

How do I fix CVE-2025-37996?

To remediate CVE-2025-37996, update to the latest version of the Linux kernel where this issue has been resolved.

3

Who is affected by CVE-2025-37996?

CVE-2025-37996 affects systems running the vulnerable versions of the Linux kernel that implement KVM for arm64.

4

What component is impacted by CVE-2025-37996?

CVE-2025-37996 specifically impacts the KVM (Kernel-based Virtual Machine) implementation in the Linux kernel.

5

What is the nature of the vulnerability in CVE-2025-37996?

CVE-2025-37996 is related to the uninitialized memcache pointer in the user_mem_abort() function, which could lead to various issues in system behavior.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203