CVE-2026-99340

HighCVSS 7.8/10Last modified Nov 22, 2026

Description

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

KVM: x86: Take SRCU in kvm_zap_gfn_range()

kvm_zap_gfn_range() walks memslots and rmaps and may drop mmu_lock to reschedule. Callers that do not already hold kvm->srcu (or slots_lock) can race with memslot deletion: synchronize_srcu_expedited() does not wait, kvm_free_memslot() frees the old slot and its rmap, and the zap resumes on freed memory.

The VFIO noncoherent-DMA path hits this by zapping the entire GPA space without SRCU. KASAN reported:

BUG: KASAN: vmalloc-out-of-bounds in slot_rmap_walk_next+0x82/0x1c0 Read of size 8 at addr ffffc900005c1008 Call Trace: slot_rmap_walk_next+0x82/0x1c0 __kvm_rmap_zap_gfn_range+0x17a/0x280 kvm_zap_gfn_range+0x2a6/0x6a0 kvm_vfio_set_attr+0x576/0x770 kvm_device_ioctl+0x1ff/0x3b0

Take SRCU inside kvm_zap_gfn_range() so every caller is covered. Nesting with an existing kvm->srcu critical section is fine; the helper uses a local index. Drop the now-redundant SRCU pair from __kvm_set_or_clear_apicv_inhibit().

Metrics

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

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 362ff6dca5416e20646badf09394b9a8bfc000db, < 9d119b4921ac74bc606917fd274c10c966fa5b72; >= 362ff6dca5416e20646badf09394b9a8bfc000db, < ec9df57c8e00f189d58d927cc9a1f49592f687af; >= 362ff6dca5416e20646badf09394b9a8bfc000db, < e34057e59ed784a37657835aac9f54eec0864342; >= 362ff6dca5416e20646badf09394b9a8bfc000db, < b59a87c1ba3c347e8aec5f932eb7abf13064fd62
LinuxLinux6.7

References

Timeline

Published
Nov 19, 2026
Last modified
Nov 22, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99341In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Request event processing for exception VM-Exits Request evenCVE-2026-99342In the Linux kernel, the following vulnerability has been resolved: KVM: x86/xen: Enforce 4-byte alignment of vcpu_info registration Xen'sCVE-2026-993437.1In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: Bug the VM if KVM attempts to walk more levels than the MCVE-2026-99344In the Linux kernel, the following vulnerability has been resolved: KVM: nSVM: Ignore EFER.LMA if EFER.LME=0 when preparing L2 state ForceCVE-2026-993457.8In the Linux kernel, the following vulnerability has been resolved: KVM: nSVM: Reject KVM_SET_NESTED_STATE if L1 has EFER.LMA=1 && EFER.LMECVE-2026-993468.8In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Trigger new ASID allocation in both VMCBs on pCPU switch WheCVE-2026-99347In the Linux kernel, the following vulnerability has been resolved: ALSA: x86: hdmi: fix chmap array missing terminator entry had_build_chCVE-2026-99348In the Linux kernel, the following vulnerability has been resolved: afs: Fix afs to abort the rxrpc call on send error Fix afs_send_empty_CVE-2026-99349In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix lack of short-send handling in rxrpc_kernel_send_data() FixCVE-2026-99354.3Uninitialized Use in ANGLE in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to leak cross-origin data via a crafted HTML pCVE-2026-99350In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix update of call->tx_pending without holding lock Currently, CVE-2026-99351In the Linux kernel, the following vulnerability has been resolved: sunrpc: treat empty auth.unix.gid replies as negative entries When rpc
CVE-2026-99340: High severity, CVSS 7.8 | Vulnix