Security mailing lists by PureSourceCode

CVE-2026-46147

MEDIUM 5.5CVSS 3.1

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.

Published
28 May 2026
Last modified
17 Jun 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Analyzed
Weakness
CWE-401
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
< 6.18.30 6.18.30
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.19, < 7.0.7 7.0.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
= 7.1

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.