HIGH Introduced in 5.13
virtio VirtQueue UAF
CVE-2026-98264
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: virtio: reset device before deleting virtqueues virtsnd_remove() and virtsnd_freeze() delete the virtqueues before resetting the device. del_vqs() frees the vring backing, but does not provide a generic device quiesce operation. In particular, modern virtio-pci keeps enabled queues active until the device is reset. Reset the device before deleting the virtqueues so it can no longer access the vring memory when that memory is released. This also covers probe failures after DRIVER_OK, which unwind through virtsnd_remove().
02KernelScan AI Analysis
Risk summary
Virtual machines configured with a virtio sound device are affected by a use-after-free in the guest kernel's virtio sound driver. During device removal, suspend, or probe-failure unwind, the driver frees virtqueue backing memory before resetting the device, allowing the device to continue accessing that memory. This can corrupt guest kernel memory and is exploitable by a malicious or compromised hypervisor, or triggered inadvertently during normal power-management cycles.
Vulnerability analysis
The virtio sound driver tears down its virtqueues by freeing the backing memory before resetting the underlying virtio device. Because modern virtio-pci transports keep queues active until an explicit device reset, the device can continue to access the vring memory after it has been released, resulting in a use-after-free that may corrupt guest kernel memory if the freed pages are reused. The fix reorders the teardown sequence so the device is reset first, preventing further access before the vring memory is freed. The vulnerable path is reached during device removal, suspend, or probe-failure cleanup and requires a virtio sound device to be present, meaning it affects virtual machines whose hypervisor provides virtio audio.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.15 | 5.13 | 5.15.224 | c0156a60adfb |
| 6.1 | 5.13 | 6.1.189 | 8edc3669e3e2 |
| 6.12 | 5.13 | 6.12.112 | 500a8401415a |
| 6.18 | 5.13 | 6.18.54 | 3e24b4a6acfd |
| 6.6 | 5.13 | 6.6.158 | 830012feadc2 |
| 7.2 | 5.13 | 7.2.8 | f070cce7cb36 |
| mainline | 5.13 | 7.3 | 6c05d00af307 |
| cip/6.1 | 5.13 | 6.1.189-cip61 | 8edc3669e3e2 |
| cip/6.1-rt | 5.13 | 6.1.189-cip61-rt32 | 8edc3669e3e2 |
| cip/6.12 | 5.13 | 6.12.112-cip33 | 500a8401415a |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.112-cip33 |
| cip/6.1 | Fixed in 6.1.189-cip61 |
| cip/6.1-rt | Fixed in 6.1.189-cip61-rt32 |