cvelo
P4 · InfoEPSS 0.2%

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

  • CVE-2026-139602
  • GHSA-g6j4-3j3q-3wr9
  • EUVD-2026-139308

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.16none stated
    before 6.16: not affectednone stated
    from 6.18.65 up to 6.18.*: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.