iommu/vt-d: Handle DID reservation errors when copying context tables
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | f93b4ac5929a5754fc4edba26b43d0c9fa57d576 to before cf890391fc13a71d116d3c59cb6f6018cb3c008c Affectedf93b4ac5929a5754fc4edba26b43d0c9fa57d576 to before 84a99c4bf8cda02227af620a47ab415d795c2de2 Affectedf93b4ac5929a5754fc4edba26b43d0c9fa57d576 to before 12a2ea2d91bea9b1f8f0a6608433210d0abd1291 Affected |
| Linux Linux | 6.16 Affectedbefore 6.16 Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.