iommu/virtio: Reset device before deleting virtqueues on probe failure
CVE-2026-99685Published 20 Nov 2026, 05:50 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.4
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 5.3 | 7.4-rc2 |
What to do
Update to a fixed version: 7.4-rc2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
No weakness type given.
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
- CVE-2026-99685 on CVE.org