CVE-2026-46147
Memory Leak in Linux Kernel KVM for ARM64
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is resolved by fixing the pin leak and publication ordering in the Linux kernel's KVM arm64 code, specifically in the __pkvm_init_vcpu() function.
Immediate mitigation steps include updating the Linux kernel to a version that contains the fix for this vulnerability.
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's KVM (Kernel-based Virtual Machine) arm64 code, specifically in the vCPU initialization path within the __pkvm_init_vcpu() function.
There are two main bugs: First, if a check fails after successfully pinning shared memory with hyp_pin_shared_mem(), the cleanup process skips necessary unpinning functions, causing a permanent leak of pin references on the host vCPU and SVE state pages.
Second, the function register_hyp_vcpu() publishes a new vCPU pointer using a bare store, which can allow concurrent callers to observe a partially initialized vCPU object. This is fixed by using memory barriers (smp_store_release() and smp_load_acquire()) to ensure proper publication ordering and visibility of the fully initialized object.
How can this vulnerability impact me? :
The vulnerability can lead to resource leaks on the host system due to pin references not being properly released, which may degrade system stability or performance over time.
Additionally, the exposure of partially initialized vCPU objects could potentially cause unpredictable behavior or security issues in virtualized environments, such as data corruption or privilege escalation, although specific impacts are not detailed.