{"id":"CVE-2026-139602","summary":"iommu/vt-d: Handle DID reservation errors when copying context tables","details":"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.","modified":"2026-12-01T21:02:34.446102115Z","published":"2026-11-30T13:36:16.204Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139602.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/12a2ea2d91bea9b1f8f0a6608433210d0abd1291"},{"type":"WEB","url":"https://git.kernel.org/stable/c/84a99c4bf8cda02227af620a47ab415d795c2de2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf890391fc13a71d116d3c59cb6f6018cb3c008c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139602.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139602"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f93b4ac5929a5754fc4edba26b43d0c9fa57d576"},{"fixed":"cf890391fc13a71d116d3c59cb6f6018cb3c008c"},{"fixed":"84a99c4bf8cda02227af620a47ab415d795c2de2"},{"fixed":"12a2ea2d91bea9b1f8f0a6608433210d0abd1291"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139602.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139602.json"}}],"schema_version":"1.9.2"}