{"id":"CVE-2026-139602","aliases":["CVE-2026-139602"],"related":[],"kind":"vulnerability","state":"published","title":"iommu/vt-d: Handle DID reservation errors when copying context tables","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/vt-d: Handle DID reservation errors when copying context tables\n\nWhen kdump reuses old translation tables, all old domain IDs (DIDs) must\nbe reserved in the new kernel before new domains are created. Today\ncopy_context_table() ignores ida_alloc_range() return values, so a real\n-ENOMEM can be missed and an ID may stay unreserved.\n\nThat can allow DID reuse while stale hardware cache entries still exist,\nrisking domain aliasing.\n\nFix this by moving DID reservation into a helper that:\n\n- treats duplicate reservations (-ENOSPC) as expected success,\n- skips out-of-range IDs as success,\n- propagates real allocation failures (like -ENOMEM), and\n- normalize successful return values.\n\nOn failure, unwind as in existing copy-allocation failure paths.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/vt-d: Handle DID reservation errors when copying context tables\n\nWhen kdump reuses old translation tables, all old domain IDs (DIDs) must\nbe reserved in the new kernel before new domains are created. Today\ncopy_context_table() ignores ida_alloc_range() return values, so a real\n-ENOMEM can be missed and an ID may stay unreserved.\n\nThat can allow DID reuse while stale hardware cache entries still exist,\nrisking domain aliasing.\n\nFix this by moving DID reservation into a helper that:\n\n- treats duplicate reservations (-ENOSPC) as expected success,\n- skips out-of-range IDs as success,\n- propagates real allocation failures (like -ENOMEM), and\n- normalize successful return values.\n\nOn failure, unwind as in existing copy-allocation failure paths.","source":"cvelist"}],"published":"2026-11-30T13:36:16.204Z","modified":"2026-11-30T14:19:42.440Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f93b4ac5929a5754fc4edba26b43d0c9fa57d576","fixed":"cf890391fc13a71d116d3c59cb6f6018cb3c008c","status":"affected"},{"type":"git","introduced":"f93b4ac5929a5754fc4edba26b43d0c9fa57d576","fixed":"84a99c4bf8cda02227af620a47ab415d795c2de2","status":"affected"},{"type":"git","introduced":"f93b4ac5929a5754fc4edba26b43d0c9fa57d576","fixed":"12a2ea2d91bea9b1f8f0a6608433210d0abd1291","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/cf890391fc13a71d116d3c59cb6f6018cb3c008c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84a99c4bf8cda02227af620a47ab415d795c2de2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12a2ea2d91bea9b1f8f0a6608433210d0abd1291","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139602","url":"https://www.cve.org/CVERecord?id=CVE-2026-139602","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:16.204Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139602","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139602","licence":"Public domain","modified":"2026-11-30T14:19:42.440Z"}],"updatedAt":"2026-11-30T14:33:37.640Z","epss":{"score":0.00198,"percentile":0.09994,"date":"2026-12-01T12:00:22.000Z"}}