Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local KVM ioctl access on VFIO host
-
DeliveryInvoke VFIO noncoherent-DMA zap of GPA space
-
ExploitRace concurrent memslot deletion to free rmap
-
ExecutionWalk resumes on freed vmalloc memory
-
ImpactCorrupt kernel state for escalation
Vulnerability Assessment
| Exploitation Conditions | Requires local access to issue KVM device ioctls (AV:L, PR:L) on a host where the KVM/VFIO noncoherent-DMA path is exercised - specifically the kvm_vfio_set_attr flow that calls kvm_zap_gfn_range() over the entire GPA space without holding kvm->srcu or slots_lock. The attacker must additionally win a race: concurrent memslot deletion must free the old slot and its rmap (via kvm_free_memslot after synchronize_srcu_expedited) while the zap walk is still running, so the walk resumes on freed memory. LIMITING FACTORS: no network reachability (local only), the host must be running KVM with VFIO device assignment configured, the caller path must not already hold SRCU, and exploitation is timing-dependent (a race window), making reliable triggering non-trivial. Affected kernels are those between the introducing change and the fixes; the only complete fix stated by the evidence is updating to a patched kernel (fixed in 6.12.117 and 6.18.61 branches and the listed stable commits). |
| Impact | Signals are moderate and internally consistent toward a non-emergency but near-term priority. The NVD CVSS is 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), i.e. a local, low-privilege flaw with high confidentiality/integrity/availability impact - consistent with a kernel use-after-free on freed rmap/memslot memory. EPSS is low at 0.21% (12th percentile), there is no CISA KEV listing and no public exploit identified, so there is no evidence of widespread or targeted exploitation - the risk is latent severity, not active threat. The vuln.today decision label is 'this_week', aligning with a serious-but-not-fire-drill posture. One caveat: the description makes clear the trigger is a RACE (a caller that does not hold kvm->srcu/slots_lock races memslot deletion so the zap resumes on freed memory), which argues for higher attack complexity than the input's AC:L implies - a reliable exploit must win a timing window against concurrent memslot deletion. Also note the 'Buffer Overflow' tag conflicts with the actual bug class (a SRCU-protection race leading to vmalloc-out-of-bounds/use-after-free per the KASAN report), so categorization is unreliable. Net: a genuine local kernel memory-safety bug worth patching promptly on KVM/VFIO hosts, but not a mass-exploitation or remote-reachable emergency. |
| Exploit ScenarioDerived | A local actor with access to KVM ioctls on a host configured for VFIO noncoherent-DMA device assignment invokes the VFIO attribute path (kvm_vfio_set_attr), which zaps the entire GPA space via kvm_zap_gfn_range() without holding SRCU. By racing this against deletion of a memslot, the old slot and its rmap are freed while the walk is still in progress, so the kernel reads (and potentially acts on) freed vmalloc memory - a use-after-free that can corrupt kernel state. No public exploit is identified; exploitation is local (AV:L) and timing-dependent, requiring the attacker to win a race against memslot deletion. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
A local user who can issue KVM device ioctls can race the x86 GFN-range zap in kvm_zap_gfn_range() against concurrent memslot deletion, so the walk can resume on freed rmap memory, producing a KASAN vmalloc-out-of-bounds read in slot_rmap_walk_next with potential for memory corruption. The reachable path is the VFIO noncoherent-DMA attribute handler (kvm_vfio_set_attr), which zaps the entire GPA space without holding kvm->srcu or slots_lock; hosts running KVM with VFIO device assignment and kernels predating the fixes are affected. Exploitation requires local access (CVSS PR:L) plus a timing-dependent race window that must overlap the zap walk with kvm_free_memslot(), and no public exploit has been identified at time of analysis; EPSS is 0.21% (12th percentile) and the issue is not in CISA KEV. Priority is near-term rather than emergency, with kernel updates fixed in the 6.12.117 and 6.18.61 branches.
RemediationAI
Upgrade to a kernel carrying the SRCU fix: 6.12.117 or 6.18.61 for the stable branches, or 7.3.2 / 7.4-rc1 for the newer line, or cherry-pick stable commits 9d119b4921ac74bc606917fd274c10c966fa5b72, ec9df57c8e00f189d58d927cc9a1f49592f687af, e34057e59ed784a37657835aac9f54eec0864342 or b59a87c1ba3c347e8aec5f932eb7abf13064fd62 (see also https://nvd.nist.gov/vuln/detail/CVE-2026-99340); patched kernels are listed by the vendor as the only complete fix, since the change moves SRCU acquisition into kvm_zap_gfn_range() to cover every caller, including the VFIO noncoherent-DMA path, and removes the redundant SRCU pair from __kvm_set_or_clear_apicv_inhibit(). Because the trigger is local and requires the ability to issue KVM device ioctls while VFIO device assignment is in use, interim compensating controls are to restrict access to /dev/kvm and KVM device ioctls to trusted local users and to avoid exercising the VFIO noncoherent-DMA configuration on hosts where untrusted local accounts can open KVM; these reduce exposure but do not remove the memslot-deletion race, so they are no substitute for the kernel update.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
KVM/x86 tracks guest memory through memslots and per-memslot reverse maps (rmaps); kvm_zap_gfn_range() walks those structures under mmu_lock and may drop the lock to reschedule, which creates a window in which the memslot set can change. Callers that do not already hold kvm->srcu or slots_lock are not protected against memslot deletion: synchronize_srcu_expedited() in the teardown path does not wait for such a caller, kvm_free_memslot() then frees the old slot and its rmap, and the resumed zap walk dereferences the freed memory. The reported trigger is the VFIO noncoherent-DMA path, which zaps the whole GPA space from kvm_vfio_set_attr() without SRCU, matching the KASAN trace through slot_rmap_walk_next, __kvm_rmap_zap_gfn_range and kvm_zap_gfn_range. The fix takes SRCU inside kvm_zap_gfn_range() using a local index so every caller is covered and nesting inside an existing kvm->srcu critical section remains valid, and it removes the now-redundant SRCU pair from __kvm_set_or_clear_apicv_inhibit(). CPE data maps the affected component only to the generic linux:linux product; no CWE identifier is assigned in the supplied data, but the behavior is a race-condition/memory-lifetime defect whose concrete symptom is an out-of-bounds read on freed vmalloc memory. The reported CVSS vector is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, while the independent assessment rates the same impact with AC:H to reflect the race window.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local KVM ioctl access needed (AV:L/PR:L); the described trigger is a race against memslot deletion requiring a won timing window (AC:H); kernel use-after-free yields high C/I/A.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
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().
Executive ViewAI
CVE-2026-99340 is a high-severity Linux kernel vulnerability affecting hosts that use KVM with VFIO device assignment. A local user with KVM ioctl access could exploit a race condition to cause memory corruption, potentially leading to system crashes or privilege escalation. While no public exploit exists, the impact on confidentiality, integrity, and availability of virtualization hosts warrants leadership attention due to the critical role these systems often play.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-129998
GHSA-qw96-mw3q-23qq
NVD
CVE.org
EPSS
VulDB
Exploit-DB