Skip to contentSkip to conversation

CVE-2026-98264: ALSA: virtio: reset device before deleting virtqueues

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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().

The Linux kernel CVE team has assigned CVE-2026-98264 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.13 with commit de3a9980d8c34b2479173e809afa820473db676a and fixed in 6.1.189 with commit 8edc3669e3e22f0123a1114c3a03df9abc4cd465
	Issue introduced in 5.13 with commit de3a9980d8c34b2479173e809afa820473db676a and fixed in 6.6.158 with commit 830012feadc228a938514a6487862dcf56af7e66
	Issue introduced in 5.13 with commit de3a9980d8c34b2479173e809afa820473db676a and fixed in 6.12.112 with commit 500a8401415ab085555785c3c339747e378abd36
	Issue introduced in 5.13 with commit de3a9980d8c34b2479173e809afa820473db676a and fixed in 6.18.54 with commit 3e24b4a6acfd3bedb2200334595facd767c9a897
	Issue introduced in 5.13 with commit de3a9980d8c34b2479173e809afa820473db676a and fixed in 7.2.8 with commit f070cce7cb361d5389b18f3ff6bd3d25a7596369
	Issue introduced in 5.13 with commit de3a9980d8c34b2479173e809afa820473db676a and fixed in 7.3-rc4 with commit 6c05d00af307560e6a9f1631d6270d3df5aa2272

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98264

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
sound/virtio/virtio_card.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/8edc3669e3e22f0123a1114c3a03df9abc4cd465
	https://git.kernel.org/stable/c/830012feadc228a938514a6487862dcf56af7e66
	https://git.kernel.org/stable/c/500a8401415ab085555785c3c339747e378abd36
	https://git.kernel.org/stable/c/3e24b4a6acfd3bedb2200334595facd767c9a897
	https://git.kernel.org/stable/c/f070cce7cb361d5389b18f3ff6bd3d25a7596369
	https://git.kernel.org/stable/c/6c05d00af307560e6a9f1631d6270d3df5aa2272