# CVE-2026-139602: iommu/vt-d: Handle DID reservation errors when copying context tables

- Severity: not scored yet
- 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.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:16.204Z
- Modified: 2026-11-30T14:19:42.440Z
- Assigned by: Linux

## Description

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

iommu/vt-d: Handle DID reservation errors when copying context tables

When kdump reuses old translation tables, all old domain IDs (DIDs) must
be reserved in the new kernel before new domains are created. Today
copy_context_table() ignores ida_alloc_range() return values, so a real
-ENOMEM can be missed and an ID may stay unreserved.

That can allow DID reuse while stale hardware cache entries still exist,
risking domain aliasing.

Fix this by moving DID reservation into a helper that:

- treats duplicate reservations (-ENOSPC) as expected success,
- skips out-of-range IDs as success,
- propagates real allocation failures (like -ENOMEM), and
- normalize successful return values.

On failure, unwind as in existing copy-allocation failure paths.

(As written by CVE List.)

## Affected

- Linux Linux: from f93b4ac5929a5754fc4edba26b43d0c9fa57d576 before cf890391fc13a71d116d3c59cb6f6018cb3c008c; from f93b4ac5929a5754fc4edba26b43d0c9fa57d576 before 84a99c4bf8cda02227af620a47ab415d795c2de2; from f93b4ac5929a5754fc4edba26b43d0c9fa57d576 before 12a2ea2d91bea9b1f8f0a6608433210d0abd1291; 6.16 (not affected: before 6.16; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/cf890391fc13a71d116d3c59cb6f6018cb3c008c>
- <https://git.kernel.org/stable/c/84a99c4bf8cda02227af620a47ab415d795c2de2>
- <https://git.kernel.org/stable/c/12a2ea2d91bea9b1f8f0a6608433210d0abd1291>

## Sources

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

---

Page: https://cve.day/CVE-2026-139602 · Whole record: https://cve.day/CVE-2026-139602.json · Rebuilt by cve.day 2026-11-30T14:33:37.640Z
