Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97993 Overview
CVE-2026-97993 is a Linux kernel vulnerability in the vhost-vdpa subsystem. The flaw lives in vhost_vdpa_set_config_call(), which swaps the return value of eventfd_ctx_fdget() into v->config_ctx before validating it. On failure, the field briefly holds an ERR_PTR value, breaking the documented invariant that v->config_ctx is valid when non-NULL. A concurrent config interrupt delivered during this window causes vhost_vdpa_config_cb() to pass the ERR_PTR to eventfd_signal(). The issue was resolved by validating the file descriptor before installing it into config_ctx.
Critical Impact
A race between an invalid eventfd installation and a config interrupt can dereference an ERR_PTR in kernel context, leading to kernel instability on hosts using vhost-vdpa virtualization.
Affected Products
- Linux kernel (vhost-vdpa driver, drivers/vhost/vdpa.c)
- Stable kernel branches receiving the referenced backports
- Virtualization hosts exposing vDPA devices to guests via vhost
Discovery Timeline
- 2026-09-25 - CVE CVE-2026-97993 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97993
Vulnerability Analysis
The vhost-vdpa driver exposes a vDPA (virtio Data Path Acceleration) device to userspace. Userspace registers an eventfd for configuration-change notifications via vhost_vdpa_set_config_call(). The handler obtains an eventfd context using eventfd_ctx_fdget(fd) and swaps it into the per-device v->config_ctx field before checking the return value.
If eventfd_ctx_fdget() fails, for example on EBADF, the swap places an ERR_PTR into v->config_ctx. The subsequent IS_ERR check clears the field, but a window exists between the swap and the clearing. The config interrupt callback vhost_vdpa_config_cb() only tests v->config_ctx for NULL. An interrupt arriving in that window hands the encoded error pointer directly to eventfd_signal(), dereferencing an invalid address in kernel mode.
A secondary functional defect also exists. Because the swap replaced a working context and released it, a rejected fd silently tears down a previously functional config interrupt channel until userspace installs a new fd.
Root Cause
The root cause is improper ordering of error validation relative to state installation, a race condition pattern [TOCTOU-adjacent] in which the shared field v->config_ctx transiently holds an ERR_PTR while concurrent readers assume the invariant "non-NULL means valid". Commit 0bde59c1723a previously documented this invariant but did not close the swap window.
Attack Vector
Exploitation requires local access to a process able to issue the VHOST_SET_CONFIG_CALL ioctl on a vhost-vdpa device, typically a VMM such as QEMU running on the host. The attacker supplies an invalid file descriptor while the device is actively generating configuration-change interrupts. The resulting ERR_PTR dereference in eventfd_signal() produces kernel memory corruption or a crash. The fix validates the fd via eventfd_ctx_fdget() and only installs the result on success, mirroring how vhost_vring_ioctl() handles the vring call fd.
No verified public exploit code is available. See the upstream patches linked in the references for the exact code change.
Detection Methods for CVE-2026-97993
Indicators of Compromise
- Kernel oops or panic traces referencing eventfd_signal, vhost_vdpa_config_cb, or vhost-vdpa in dmesg and /var/log/kern.log.
- Unexpected loss of vDPA configuration-change interrupt delivery to a guest following an ioctl error returned to the VMM.
- Repeated VHOST_SET_CONFIG_CALL ioctls returning -EBADF from a VMM process on the host.
Detection Strategies
- Monitor host kernel versions against the fixed commits 388c678, 65faf9e, 6b20b40, and e74a9fa to identify unpatched systems.
- Audit which workloads load the vhost_vdpa module and which user processes hold /dev/vhost-vdpa-* file descriptors.
- Correlate kernel crash telemetry with VMM activity windows to spot config-callback races.
Monitoring Recommendations
- Ship kernel ring buffer and crash dumps to a central logging pipeline for pattern analysis.
- Alert on repeated vhost-vdpa ioctl failures from the same process within short time windows.
- Track uname -r and installed kernel package versions across the fleet to confirm patch coverage.
How to Mitigate CVE-2026-97993
Immediate Actions Required
- Apply the stable kernel updates containing commits 388c678639a0, 65faf9eaa00e, 6b20b40f020b, or e74a9fa50749 to all hosts running vhost-vdpa.
- Restrict access to /dev/vhost-vdpa-* to trusted virtualization service accounts only.
- Reboot affected hosts after kernel upgrade to activate the fixed vhost_vdpa module.
Patch Information
The upstream fix changes vhost_vdpa_set_config_call() to validate the eventfd context before installing it into v->config_ctx, eliminating the window during which the field holds an ERR_PTR. Patch commits are published at Kernel Git Commit 388c678, Kernel Git Commit 65faf9e, Kernel Git Commit 6b20b40, and Kernel Git Commit e74a9fa.
Workarounds
- Unload the vhost_vdpa kernel module on hosts that do not require vDPA passthrough.
- Blocklist the module via /etc/modprobe.d/ on systems where vDPA is not in use.
- Limit guest workloads that rely on vhost-vdpa until patched kernels are deployed.
# Confirm patched kernel and disable the module where unneeded
uname -r
modinfo vhost_vdpa | grep -E 'filename|version'
# Prevent the module from loading on hosts that do not use vDPA
echo 'blacklist vhost_vdpa' | sudo tee /etc/modprobe.d/blacklist-vhost-vdpa.conf
sudo rmmod vhost_vdpa 2>/dev/null || true
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

