Bug 2369189 (CVE-2025-37996) - CVE-2025-37996 kernel: KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()
Summary: CVE-2025-37996 kernel: KVM: arm64: Fix uninitialized memcache pointer in user...
Keywords:
Status: NEW
Alias: CVE-2025-37996
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-29 14:01 UTC by OSIDB Bzimport
Modified: 2025-06-03 08:21 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-29 14:01:36 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.