Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139602

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f93b4ac5929a5754fc4edba26b43d0c9fa57d576 to < cf890391fc13a71d116d3c59cb6f6018cb3c008caffected
  • f93b4ac5929a5754fc4edba26b43d0c9fa57d576 to < 84a99c4bf8cda02227af620a47ab415d795c2de2affected
  • f93b4ac5929a5754fc4edba26b43d0c9fa57d576 to < 12a2ea2d91bea9b1f8f0a6608433210d0abd1291affected

Linux Linux

Default version status: affected

  • 6.16affected
  • 0 to < 6.16unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References