CVE-2026-99685
iommu/virtio: Reset device before deleting virtqueues on probe failure
- CVSS
- 8.4
- EPSS
- 0.18% (p8)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Fixed in
0d809d701cd4bd789b6c1313ea08778bc8e5d6de · 1f8efac19a0870cdfdf8477e447e5a07ddce9623 · 5.10.275 · 5.15.226 · 5b1669ec2d6bd3d0958e81f212a7149a6fb042d9 · 6.1.193 · 6.12.118 · 6.18.64 · 6.6.163 · 7.3.5 · cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598 · d16eda7b2832d23423d84fe6fa50908bd5d2a15d · e09d65fd554b78c7277f6379517c773ff36d55d1 · e60e6db9d07b2ebaff2e055a086fa8e8d14f565c · ffcc07d4a69dd7cf2f50e7b8418145ec7596ff53
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11.0, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.16.0, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=5.3.0, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.3.0, <6.12.118 | 6.12.118 |
| Linux | Kernel | >=6.13.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.118 | 6.12.118 |
| vendor | Linux | >=edcd69ab9a323b7ac7a86e1c44b6c9c46598391f, <0d809d701cd4bd789b6c1313ea08778bc8e5d6de | 0d809d701cd4bd789b6c1313ea08778bc8e5d6de |
| vendor | Linux | >=edcd69ab9a323b7ac7a86e1c44b6c9c46598391f, <1f8efac19a0870cdfdf8477e447e5a07ddce9623 | 1f8efac19a0870cdfdf8477e447e5a07ddce9623 |
| vendor | Linux | >=edcd69ab9a323b7ac7a86e1c44b6c9c46598391f, <5b1669ec2d6bd3d0958e81f212a7149a6fb042d9 | 5b1669ec2d6bd3d0958e81f212a7149a6fb042d9 |
| vendor | Linux | >=edcd69ab9a323b7ac7a86e1c44b6c9c46598391f, <cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598 | cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598 |
| vendor | Linux | >=edcd69ab9a323b7ac7a86e1c44b6c9c46598391f, <d16eda7b2832d23423d84fe6fa50908bd5d2a15d | d16eda7b2832d23423d84fe6fa50908bd5d2a15d |
| vendor | Linux | >=edcd69ab9a323b7ac7a86e1c44b6c9c46598391f, <e09d65fd554b78c7277f6379517c773ff36d55d1 | e09d65fd554b78c7277f6379517c773ff36d55d1 |
| vendor | Linux | >=edcd69ab9a323b7ac7a86e1c44b6c9c46598391f, <e60e6db9d07b2ebaff2e055a086fa8e8d14f565c | e60e6db9d07b2ebaff2e055a086fa8e8d14f565c |
| vendor | Linux | >=edcd69ab9a323b7ac7a86e1c44b6c9c46598391f, <ffcc07d4a69dd7cf2f50e7b8418145ec7596ff53 | ffcc07d4a69dd7cf2f50e7b8418145ec7596ff53 |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/e09d65fd554b78c7277f6379517c773ff36d55d1 other
- https://git.kernel.org/stable/c/e60e6db9d07b2ebaff2e055a086fa8e8d14f565c other
- https://git.kernel.org/stable/c/cfdb3b6915299ebb6ffc98566f9cf73d4d1f1598 other
- https://git.kernel.org/stable/c/1f8efac19a0870cdfdf8477e447e5a07ddce9623 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99685.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99685 advisory
- https://git.kernel.org/stable/c/5b1669ec2d6bd3d0958e81f212a7149a6fb042d9 other
- https://git.kernel.org/stable/c/ffcc07d4a69dd7cf2f50e7b8418145ec7596ff53 other
- https://git.kernel.org/stable/c/0d809d701cd4bd789b6c1313ea08778bc8e5d6de other
- https://git.kernel.org/stable/c/d16eda7b2832d23423d84fe6fa50908bd5d2a15d other