Linux KernelOperating system · Linux

CVE-2026-46317

HIGH · 8.8 CVSS v3.1 Published 2026-06-09
Fix available
A fix is available. Upgrade to 6.18.35 / 7.0.12 or later.
See remediation →
90/100
Remediation priority · Urgent
Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Reassign nested_mmus array behind mmu_lock kvm->arch.nested_mmus[] is walked under kvm->mmu_lock, including from the MMU notifier path (kvm_unmap_gfn_range() -> kvm_nested_s2_unmap()), which can run at any time. kvm_vcpu_init_nested() reallocates the array and frees the old buffer while holding only kvm->arch.config_lock, so such a walker can reference the freed array. Allocate the new array outside of mmu_lock, as the allocation can sleep. Under the lock, copy the existing entries, fix up the back pointers and reassign the array. Free the old buffer after dropping the lock, as kvfree() can sleep as well.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A race condition in KVM/arm64 allows use-after-free when kvm->arch.nested_mmus array is reallocated. The array is accessed under kvm->mmu_lock from MMU notifier paths, but kvm_vcpu_init_nested() reallocates it while holding only config_lock, allowing concurrent walkers to reference freed memory.

MitigationApply the kernel patch that moves array reallocation inside mmu_lock and defers buffer freeing until after the lock is dropped. Update Linux kernel to version containing the fix.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 6.11, < 6.18.35>= 6.19, < 7.0.12= 7.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check kernel version
    Run 'uname -r' or 'cat /proc/version' and compare the version number to the affected ranges: >= 6.11, < 6.18.35; >= 6.19, < 7.0.12; = 7.1
    Affected if Kernel version falls within any of the affected ranges
  2. Verify ARM64 architecture
    Run 'uname -m' or check 'lscpu' output. The vulnerability exists only on aarch64 (ARM 64-bit) systems
    Affected if System is not running on aarch64 architecture
  3. Confirm KVM arm64 is in use
    Check if kvm or kvm-arm64 module is loaded: 'lsmod | grep kvm' or check /sys/module/kvm* existence. Also verify kvm support via 'lscpu' Virtualization section
    Affected if KVM for arm64 is not loaded or not available on the system
  4. Determine if nested virtualization is configured
    Inspect if nested_mmus array allocation would occur. This typically requires nested virtualization (L2 hypervisor) to be enabled. Check for presence of nested-related KVM sysfs files or documentation for the specific environment
    Affected if Nested virtualization with KVM arm64 is not in use

A system is affected only if it runs a vulnerable kernel version on ARM64 architecture with KVM arm64 loaded and nested virtualization actively configured, creating the conditions for the race condition in nested_mmus array handling.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 6.18.35 / 7.0.12 or later
Fixed in 6.18.357.0.12
Vendor patch git.kernel.org →
Interim mitigation

Apply the kernel patch that moves array reallocation inside mmu_lock and defers buffer freeing until after the lock is dropped. Update Linux kernel to version containing the fix.

Recommended fix High confidence

Linux kernel 6.18.35, 7.0.12, or 7.2 (or later stable releases)

  1. Check current kernel version with `uname -r`
  2. Upgrade to Linux kernel version 6.18.35 or later, OR 7.0.12 or later, OR 7.2 or later
  3. Reboot the system to load the fixed kernel
  4. Verify the kernel version after reboot with `uname -r`
Caveat Standard kernel upgrade considerations apply - ensure compatible drivers and software stack

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing8.0 h
  • Review / QA4.0 h
18.0 hours of engineering $3,040
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,864.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-46317 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-46317 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data