Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99685

published high CVSS 3.1 · 8.4

iommu/virtio: Reset device before deleting virtqueues on probe failure

Published
20 Nov 2026, 05:50:31 UTC
Updated
23 Nov 2026, 08:06:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxedcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < 5b1669ec2d6bd3d0958e81f212a7149a6fb042d9 · edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < ffcc07d4a69dd7cf2f50e7b8418145ec7596ff53 · edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < 0d809d701cd4bd789b6c1313ea08778bc8e5d6de · edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < d16eda7b2832d23423d84fe6fa50908bd5d2a15d · edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < e09d65fd554b78c7277f6379517c773ff36d55d1 · edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < e60e6db9d07b2ebaff2e055a086fa8e8d14f565c · edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598 · edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < 1f8efac19a0870cdfdf8477e447e5a07ddce9623 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.3 (affected) · 0 to < 5.3 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Debian trixie linux Advisory build 6.12.118-1 DSA-6652-1

Description

In the Linux kernel, the following vulnerability has been resolved: iommu/virtio: Reset device before deleting virtqueues on probe failure viommu_probe() marks the device DRIVER_OK before populating the event virtqueue and registering the IOMMU device in sysfs. viommu_fill_evtq() hands the device a set of device-writable buffers through virtqueue_add_inbuf(), so from that point on the device may write into them and into the rings. If either step fails, the error path deletes the virtqueues without resetting the device first. The event buffers are allocated with devm_kmalloc_array() and are released as probe unwinds, so the device can go on writing to memory that has been freed. Reset the device before deleting the virtqueues, the way viommu_remove() already does.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.4 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - register_virtio_device() matches VIRTIO_ID_IOMMU and virtio_dev_probe() calls viommu_probe(). The backend forces that path by writing an event-virtqueue used-ring id into the vring viommu_init_vqs() mapped over local PCI, MMIO, or vDPA. AC:L - On the vp_set_status() write of DRIVER_OK in virtio_device_ready(), the backend sets the event vq used idx and injects that vq IRQ. viommu_event_handler() reaches virtqueue_get_buf_ctx_split(), which BAD_RINGs because desc_state[].data is still NULL and sets broken, so viommu_fill_evtq()'s virtqueue_add_inbuf() returns -EIO and the pre-fix err_free_vqs path calls del_vqs(). PR:N - viommu_probe() and virtio_dev_probe() never call capable(). MODULE_DEVICE_TABLE(virtio, id_table) autoloads virtio_iommu and the bus binds a VIRTIO_ID_IOMMU device at enumeration or hotplug, so the backend needs no account on the guest. UI:N - The used-ring id is consumed by the event-vq IRQ inside viommu_probe(), before iommu_device_register(). Backend enumeration or hotplug is the attacker's own action and the probe path does not wait on a guest open or mount. S:U - The pre-fix err_free_vqs path in viommu_probe() calls del_vqs() with no virtio_reset_device(), and virtio-pci modern del_vq() frees that kernel's vring pages in vring_del_virtqueue() while queue_enable stays set. Those pages belong to the same kernel that probed the device. C:H - vring_free_queue() returns the event vq ring pages, whose GPA was programmed into the device at queue setup, to the allocator while the backend still holds that address, so a later DMA read of the reused page discloses the kernel object that replaced the vring. I:H - The backend chooses the bytes it DMA-writes through the still-enabled event queue into the vring pages vring_free_queue() has already returned. Reuse of that allocation is a kernel write primitive. A:H - A DMA write into the vring after viommu_probe()'s del_vqs() corrupts allocator or slab memory and oopses the probing kernel. Each hotplug of a hostile virtio-iommu device takes the same err_free_vqs path.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < 5b1669ec2d6bd3d0958e81f212a7149a6fb042d9 (affected · git)edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < ffcc07d4a69dd7cf2f50e7b8418145ec7596ff53 (affected · git)edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < 0d809d701cd4bd789b6c1313ea08778bc8e5d6de (affected · git)edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < d16eda7b2832d23423d84fe6fa50908bd5d2a15d (affected · git)edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < e09d65fd554b78c7277f6379517c773ff36d55d1 (affected · git)edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < e60e6db9d07b2ebaff2e055a086fa8e8d14f565c (affected · git)edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598 (affected · git)edcd69ab9a323b7ac7a86e1c44b6c9c46598391f to < 1f8efac19a0870cdfdf8477e447e5a07ddce9623 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.3 (affected)0 to < 5.3 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

iommu/virtio: Reset device before deleting virtqueues on probe failure

Provenance

Schema
5.2
Searchable
yes
Content hash
647388b48056809c4243d9250fc3b6c5dab9504c2eb4a2dd76addca6193bba09
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected