What is CVE-2026-99340?
CVE-2026-99340 is a high-severity vulnerability in Linux, published on 19 Nov 2026.
Official 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().
How severe is CVE-2026-99340?
CVE-2026-99340 scores 7.8 out of 10 under CVSS 3.1, which is high severity. It was scored by the Linux kernel CNA.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Which versions are affected by CVE-2026-99340?
Status by vendor 5
| Who | Release | Status | Packages |
|---|---|---|---|
| Red Hat | 8 | not affected | bpftool, kernel, kernel-abi-stablelists and 43 morepkg:rpm/redhat/bpftool?distro=rhel-8pkg:rpm/redhat/kernel?distro=rhel-8pkg:rpm/redhat/kernel-abi-stablelists?distro=rhel-8 |
| Red Hat | 9 | deferred | bpftool, kernel, kernel-64k and 105 morepkg:rpm/redhat/bpftool?distro=rhel-9pkg:rpm/redhat/kernel?distro=rhel-9pkg:rpm/redhat/kernel-64k?distro=rhel-9 |
| Red Hat | 10 | deferred | kernelpkg:rpm/redhat/kernel?distro=rhel-10 |
| Red Hat | els/6 | end of life | kernel, kernel-abi-whitelists, kernel-bootwrapper and 10 morepkg:rpm/redhat/kernel?distro=rhel-6pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-6pkg:rpm/redhat/kernel-bootwrapper?distro=rhel-6 |
| Red Hat | els/7 | not affected | bpftool, kernel, kernel-abi-whitelists and 23 morepkg:rpm/redhat/bpftool?distro=rhel-7pkg:rpm/redhat/kernel?distro=rhel-7pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-7 |
How do I fix CVE-2026-99340?
Upgrade to a fixed version.
Is CVE-2026-99340 being exploited?
There is no known exploitation of CVE-2026-99340 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2026-99340, DEBIAN-CVE-2026-99340, GHSA-qw96-mw3q-23qq, UBUNTU-CVE-2026-99340.