Not scored
iommu/vt-d: Handle DID reservation errors when copying context tables
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139602 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139602 changed 2026-11-30 | Public domain |