Linux
KVM: arm64: Fix uninitialized memcache pointer in user_mem_abort()
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= fce886a6020734d6253c2c5a3bc285e385cc5496, < a26d50f8a4a5049e956984797b5d0dedea4bbb18
- >= fce886a6020734d6253c2c5a3bc285e385cc5496, < 157dbc4a321f5bb6f8b6c724d12ba720a90f1a7c
Fixed in a26d50f8a4a5049e956984797b5d0dedea4bbb18, 157dbc4a321f5bb6f8b6c724d12ba720a90f1a7c
- 6.14
Fixed in 0, 6.14.7, 6.15
Mitigation
Upgrade Linux to a26d50f8a4a5049e956984797b5d0dedea4bbb18 or 157dbc4a321f5bb6f8b6c724d12ba720a90f1a7c or later.
Upgrade Linux to 0 or 6.14.7 or 6.15 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.