# CVE-2026-90242: iommu/vt-d: Fix iopf\_refcount leak on RID domain replacement

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-17T16:07:45.817Z
- **Modified:** 2026-10-19T09:19:14.683Z

## Who should check

- Anyone running Linux \>= 17fce9d2336d952b95474248303e5e7d9777f2e0, \< 243bf1e45e40be4705aae17c5044bf83df5f4a92; \>= 17fce9d2336d952b95474248303e5e7d9777f2e0, \< 143cd37ce76527ddd6f6dbac4a89bde31fb8b0dc; \>= 17fce9d2336d952b95474248303e5e7d9777f2e0, \< 236dd58fabd2e951b940a6ad88b81147899ed311
- Anyone running Linux 6.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/vt-d: Fix iopf\_refcount leak on RID domain replacement

intel\_iommu\_attach\_device() enables IOPF for the new domain but never
disables it for the old one.  device\_block\_translation(), called at the
start of the function, tears down translation but does not touch any IOPF
state; blocking\_domain\_attach\_dev() has to call iopf\_for\_domain\_remove()
explicitly before invoking it for exactly this reason.

identity\_domain\_attach\_dev() has the same problem.  Its comment claims
that no PRI handling is needed because the device has been put in the
blocking state, but the blocking state and the IOPF reference count are
independent of each other.

As a result, replacing a domain that has an iopf\_handler with another
domain at RID level leaks a reference in info-\>iopf\_refcount.  The count
never drops back to zero, so iopf\_queue\_remove\_device() is never called
and iommu\_disable\_pci\_pri() triggers its WARN\_ON(info-\>iopf\_refcount)
when the device is released.

The PASID paths already handle this correctly by way of
iopf\_for\_domain\_replace(); convert the two RID paths to do the same.
Using the replace helper rather than a bare remove keeps the enable
before the disable, so the reference count does not transiently reach
zero and evict the device from the IOPF queue.

## Affected and fixed versions

- Linux: \>= 17fce9d2336d952b95474248303e5e7d9777f2e0, \< 243bf1e45e40be4705aae17c5044bf83df5f4a92; \>= 17fce9d2336d952b95474248303e5e7d9777f2e0, \< 143cd37ce76527ddd6f6dbac4a89bde31fb8b0dc; \>= 17fce9d2336d952b95474248303e5e7d9777f2e0, \< 236dd58fabd2e951b940a6ad88b81147899ed311 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 236dd58fabd2e951b940a6ad88b81147899ed311 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90242. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90242.md
Affected: Linux >= 17fce9d2336d952b95474248303e5e7d9777f2e0, < 243bf1e45e40be4705aae17c5044bf83df5f4a92; >= 17fce9d2336d952b95474248303e5e7d9777f2e0, < 143cd37ce76527ddd6f6dbac4a89bde31fb8b0dc; >= 17fce9d2336d952b95474248303e5e7d9777f2e0, < 236dd58fabd2e951b940a6ad88b81147899ed311; Linux 6.16
Fixed in: Linux 243bf1e45e40be4705aae17c5044bf83df5f4a92, Linux 143cd37ce76527ddd6f6dbac4a89bde31fb8b0dc, Linux 236dd58fabd2e951b940a6ad88b81147899ed311

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90242 being exploited?

There is no confirmed exploitation: CVE-2026-90242 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90242?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90242?

Linux \>= 17fce9d2336d952b95474248303e5e7d9777f2e0, \< 243bf1e45e40be4705aae17c5044bf83df5f4a92; \>= 17fce9d2336d952b95474248303e5e7d9777f2e0, \< 143cd37ce76527ddd6f6dbac4a89bde31fb8b0dc; \>= 17fce9d2336d952b95474248303e5e7d9777f2e0, \< 236dd58fabd2e951b940a6ad88b81147899ed311; Linux 6.16.

### Is there a fix for CVE-2026-90242?

Yes. Fixed in Linux 243bf1e45e40be4705aae17c5044bf83df5f4a92, Linux 143cd37ce76527ddd6f6dbac4a89bde31fb8b0dc, Linux 236dd58fabd2e951b940a6ad88b81147899ed311. Upgrade Linux to 236dd58fabd2e951b940a6ad88b81147899ed311 or later.

### How do I check if I'm affected by CVE-2026-90242?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/243bf1e45e40be4705aae17c5044bf83df5f4a92>
- other: <https://git.kernel.org/stable/c/143cd37ce76527ddd6f6dbac4a89bde31fb8b0dc>
- other: <https://git.kernel.org/stable/c/236dd58fabd2e951b940a6ad88b81147899ed311>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90242>

HTML: <https://flawdb.com/CVE-2026-90242> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90242>
