CVE-2026-97992

vhost-vdpa: protect config_ctx from being freed under the config callback

CVE-2026-97992 is fixed in 37 products on 1 platform, first by DEBIAN-CVE-2026-97992, released September 29, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0020
9th percentile

In the Linux kernel, the following vulnerability has been resolved: vhost-vdpa: protect config_ctx from being freed under the config callback vhost_vdpa_config_cb() loads v->config_ctx and signals it without taking a reference and without holding any lock: struct eventfd_ctx *config_ctx = v->config_ctx; if (config_ctx) eventfd_signal(config_ctx); VHOST_VDPA_SET_CONFIG_CALL replaces that field and drops what is normally the last reference to the old context: swap(ctx, v->config_ctx); if (ctx) eventfd_ctx_put(ctx); eventfd_ctx_put() drops the last kref and frees the context immediately, with no RCU grace period, so a callback that has already loaded the pointer goes on to dereference freed memory. The two sides share no lock: the ioctl runs under vhost_dev.mutex, while the parent invokes the callback from its own interrupt or workqueue context. This is not the reopen refcount underflow fixed by commit f6bbf0010ba0 ("vhost-vdpa: fix use-after-free of v->config_ctx"), which was about vhost_vdpa_config_put() leaving a stale pointer behind. Here the pointer is maintained correctly and it is the read side that is unprotected. With VDUSE as the parent this is reachable from userspace with access to /dev/vduse (root by default). VDUSE_DEV_INJECT_CONFIG_IRQ queues dev->inject, and vduse_dev_irq_inject() runs the callback under VDUSE's own dev->irq_lock, which vhost does not hold. vduse_dev_reset() does flush_work(&dev->inject), but VHOST_VDPA_SET_CONFIG_CALL never goes through reset, so an inject already in flight is not waited for. A process that injects config interrupts on the VDUSE fd while another thread swaps the call fd on the vhost-vdpa fd hits it in seconds: BUG: KASAN: slab-use-after-free in native_queued_spin_lock_slowpath Read of size 4 at addr ffff888107d21808 by task kworker/u17:1/2993 Workqueue: vduse-irq vduse_dev_irq_inject Call Trace: native_queued_spin_lock_slowpath+0x97/0x5b0 _raw_spin_lock_irqsave+0xd4/0xe0 eventfd_signal_mask+0x69/0x120 vhost_vdpa_config_cb+0x34/0x50 vduse_dev_irq_inject+0x46/0x60 process_one_work+0x468/0x950 Allocated by task 2992: do_eventfd+0x50/0x200 __x64_sys_eventfd2+0x2e/0x40 Freed by task 2992: eventfd_ctx_put+0xb9/0xc0 vhost_vdpa_unlocked_ioctl+0x116c/0x2190 Add a spinlock covering every access to config_ctx, so the callback either signals a context that is still alive or observes NULL, and the put happens only once no callback can reach the old value. Clearing the parent's callback before the put would not be enough: of the in-tree set_config_cb() implementations only VDUSE takes a lock, the rest store the pointer unlocked, so that would not order against an in-flight invocation.

Where it's fixed

ProductFixed inFixReleased
Linux
kernel-uek · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-core · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-core · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-core · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-core · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-devel · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-devel · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-core · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-core · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-deprecated · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-deprecated · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-desktop · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-desktop · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-extra · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-extra · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-extra-netfilter · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-extra-netfilter · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-usb · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-usb · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-wireless · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-debug-modules-wireless · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-devel · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-devel · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-doc · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-doc · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-core · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-core · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-deprecated · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-deprecated · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-desktop · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-desktop · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-extra · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-extra · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-extra-netfilter · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-extra-netfilter · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-usb · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-usb · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-wireless · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-modules-wireless · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-tools · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek-tools · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-core · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-core · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-devel · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-devel · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-core · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-core · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-deprecated · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-deprecated · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-desktop · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-desktop · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-extra · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-extra · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-extra-netfilter · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-extra-netfilter · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-usb · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-usb · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-wireless · ol 10 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
kernel-uek64k-modules-wireless · ol 9 0:6.12.0-207.111.5.1.el9uek ELSA-2026-500374 Oct 7, 2026
linux · Debian 13.5 (trixie) 6.12.111-1 DEBIAN-CVE-2026-97992 Sep 29, 2026
linux · Debian 14 7.2.7-1 DEBIAN-CVE-2026-97992 Sep 29, 2026
linux-6.12 · Debian 12.15 (bookworm) 6.12.111-1~deb12u1 DEBIAN-CVE-2026-97992 Sep 29, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.