VDB

CVE-2026-46147

CVE-2026-46147 PUBLISHED

KVM: arm64: Fix pin leak and publication ordering in __pkvm_init_vcpu()

Reported by linux · Published May 28, 2026

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.

EPSS 0.13% · 2.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.30-61.116.amzn2023
python3-perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.30-61.116.amzn2023
kernel-livepatch-6.18.30-61.116Amazon Linux1:1.0-0.amzn2023
kernel6.18-develAmazon Linux1:6.18.30-61.116.amzn2023
linux_kernellinux7.0.7, 6.18.30
LinuxLinux7d3c27b54253cda91dc4d2c1bfc109c490837ab9, 73b9c1e5da84cd69b1a86e374e450817cd051371, 7.0.7, 6d69c0ed978f7f0efd053fc98390f25ab77c1aea, 6.18.30

Risk scores

EPSS Score
0.13%
2.3th percentile

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux6.18.30, 7.0.7, 7.1
amazon:2023kernel6.18-modules-extra-common0
amazon:2023python3-perf6.180
amazon:2023perf6.180
LinuxLinux7.0.7, 6.18.30, 0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023kernel6.18-devel0
linuxlinux_kernel0, 0, 0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.180
amazon:2023bpftool6.180

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (14 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Jun 10, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46147
vulnetix vdb fixes CVE-2026-46147

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46147/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›