CVE-2026-46317: Linux Kernel KVM arm64 - Use After Free
- Cve: CVE-2026-46317
- Name: Linux Kernel KVM arm64 - Use After Free
- Description: 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.
- Impact: Attackers can cause memory corruption or denial of service by triggering use-after-free conditions in nested MMU handling.
- Remediation: Update to the latest Linux kernel version containing the fix for nested_mmus array reassignment.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.00126
- Epss percentile: 0.02215
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2026-06-09T13:16:37Z
- Age in days: 168
- Modified at: 2026-10-19T20:18:42Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-46317
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
| CWE-416 | Use After Free |
References
Same in every row:
- Source: nvd
- Tags: Patch
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | = 7.1 rc1; = 7.1 rc2; = 7.1 rc3; = 7.1 rc4; = 7.1 rc5; = 7.1 rc6; >= 6.19, < 7.0.12; >= 6.11, < 6.18.35 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports