CVE-2026-46317

Source
https://cve.org/CVERecord?id=CVE-2026-46317
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46317.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-46317
Downstream
Related
Published
2026-06-09T11:52:30.333Z
Modified
2026-07-10T03:54:29.873982255Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
KVM: arm64: Reassign nested_mmus array behind mmu_lock
Details

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Reassign nestedmmus array behind mmulock

kvm->arch.nestedmmus[] is walked under kvm->mmulock, including from the MMU notifier path (kvmunmapgfnrange() -> kvmnesteds2unmap()), which can run at any time. kvmvcpuinitnested() reallocates the array and frees the old buffer while holding only kvm->arch.configlock, 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46317.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4f128f8e1aaac189f83d0f828bcdb2986d8d2e51
Fixed
918450ad6010df6ecd2efde12a1409e011da22d6
Fixed
4424dbcb06d68e34e51c019a5781a7dc00731971
Fixed
70543358fa08e0f7cebc3447c3b70fe97ad7aaa8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46317.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.18.35
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.12

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46317.json"