Skip to content
Medium 6.4

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

CVE-2026-139602 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.16.0, < 6.18.65→ 6.18.65
≥ 6.19.0, < 7.3.6→ 7.3.6

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details