# CVE-2026-99685: iommu/virtio: Reset device before deleting virtqueues on probe failure

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-02)
- Published: 2026-11-20T05:50:31.076Z
- Modified: 2026-11-23T08:18:09.380Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from edcd69ab9a323b7ac7a86e1c44b6c9c46598391f before 5b1669ec2d6bd3d0958e81f212a7149a6fb042d9; from edcd69ab9a323b7ac7a86e1c44b6c9c46598391f before ffcc07d4a69dd7cf2f50e7b8418145ec7596ff53; from edcd69ab9a323b7ac7a86e1c44b6c9c46598391f before 0d809d701cd4bd789b6c1313ea08778bc8e5d6de; from edcd69ab9a323b7ac7a86e1c44b6c9c46598391f before d16eda7b2832d23423d84fe6fa50908bd5d2a15d; from edcd69ab9a323b7ac7a86e1c44b6c9c46598391f before e09d65fd554b78c7277f6379517c773ff36d55d1; from edcd69ab9a323b7ac7a86e1c44b6c9c46598391f before e60e6db9d07b2ebaff2e055a086fa8e8d14f565c; from edcd69ab9a323b7ac7a86e1c44b6c9c46598391f before cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598; from edcd69ab9a323b7ac7a86e1c44b6c9c46598391f before 1f8efac19a0870cdfdf8477e447e5a07ddce9623; 5.3 (not affected: before 5.3; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc2 up to *)

## References

- <https://git.kernel.org/stable/c/5b1669ec2d6bd3d0958e81f212a7149a6fb042d9>
- <https://git.kernel.org/stable/c/ffcc07d4a69dd7cf2f50e7b8418145ec7596ff53>
- <https://git.kernel.org/stable/c/0d809d701cd4bd789b6c1313ea08778bc8e5d6de>
- <https://git.kernel.org/stable/c/d16eda7b2832d23423d84fe6fa50908bd5d2a15d>
- <https://git.kernel.org/stable/c/e09d65fd554b78c7277f6379517c773ff36d55d1>
- <https://git.kernel.org/stable/c/e60e6db9d07b2ebaff2e055a086fa8e8d14f565c>
- <https://git.kernel.org/stable/c/cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598>
- <https://git.kernel.org/stable/c/1f8efac19a0870cdfdf8477e447e5a07ddce9623>

## Sources

- CVE List: [CVE-2026-99685](https://www.cve.org/CVERecord?id=CVE-2026-99685), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99685](https://nvd.nist.gov/vuln/detail/CVE-2026-99685), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99685 · Whole record: https://cve.day/CVE-2026-99685.json · Rebuilt by cve.day 2026-11-25T22:59:52.307Z
