iommu/vt-d: Handle DID reservation errors when copying context tables
Summary
| CVE | CVE-2026-139602 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:19:42 UTC |
| Updated | 2026-11-30 14:19:42 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected f93b4ac5929a5754fc4edba26b43d0c9fa57d576 cf890391fc13a71d116d3c59cb6f6018cb3c008c git |
Not specified |
| CNA |
Linux |
Linux |
affected f93b4ac5929a5754fc4edba26b43d0c9fa57d576 84a99c4bf8cda02227af620a47ab415d795c2de2 git |
Not specified |
| CNA |
Linux |
Linux |
affected f93b4ac5929a5754fc4edba26b43d0c9fa57d576 12a2ea2d91bea9b1f8f0a6608433210d0abd1291 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.16 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.16 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/12a2ea2d91bea9b1f8f0a6608433210d0abd1291 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/cf890391fc13a71d116d3c59cb6f6018cb3c008c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/84a99c4bf8cda02227af620a47ab415d795c2de2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.