CVE-2026-46147 Details
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Fix pin leak and publication ordering in __pkvm_init_vcpu() Two bugs exist in the vCPU initialisation path: 1. If a check fails after hyp_pin_shared_mem() succeeds, the cleanup path jumps to 'unlock' without calling unpin_host_vcpu() or unpin_host_sve_state(), permanently leaking pin references on the host vCPU and SVE state pages. Extract a register_hyp_vcpu() helper that performs the checks and the store. When register_hyp_vcpu() returns an error, call unpin_host_vcpu() and unpin_host_sve_state() inline before falling through to the existing 'unlock' label. 2. register_hyp_vcpu() publishes the new vCPU pointer into 'hyp_vm->vcpus[]' with a bare store, allowing a concurrent caller of pkvm_load_hyp_vcpu() to observe a partially initialised vCPU object. Ensure the store uses smp_store_release() and the load uses smp_load_acquire(). While 'vm_table_lock' currently serialises the store and the load, these barriers ensure the reader sees the fully initialised 'hyp_vcpu' object even if there were a lockless path or if the lock's own ordering guarantees were insufficient for nested object initialization.
A vulnerability has been identified in the Linux kernel's KVM (Kernel-based Virtual Machine) module for arm64 architecture. This issue arises during the initialization of virtual CPUs (vCPUs) and involves a pin leak and improper publication ordering. Specifically, if a check fails after successfully pinning shared memory, the cleanup process skips unpinning the host vCPU and SVE (Scalable Vector Extension) state, leading to a permanent leak of pin references. Additionally, the function responsible for registering a vCPU publishes the pointer to the vCPU array without proper synchronization, allowing concurrent operations to see a partially initialized object. These issues have been addressed by introducing a new helper function that manages the registration process and ensures correct synchronization, preventing memory leaks and maintaining data integrity.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/6d69c0ed978f7f0efd053fc98390f25ab77c1aea | kernel.org | Patch |
| https://git.kernel.org/stable/c/73b9c1e5da84cd69b1a86e374e450817cd051371 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7d3c27b54253cda91dc4d2c1bfc109c490837ab9 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 6.18.30 >= 6.19, < 7.0.7 7.1 rc1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 10, 2026 | Initial Analysis | [email protected] |
| May 28, 2026 | New CVE Received | kernel.org |