Bug 2586876 (CVE-2026-139602) - CVE-2026-139602 kernel: kernel: memory corruption via unhandled domain ID reservation errors in VT-d
Summary: CVE-2026-139602 kernel: kernel: memory corruption via unhandled domain ID res...
Keywords:
Status: NEW
Alias: CVE-2026-139602
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:45 UTC by OSIDB Bzimport
Modified: 2026-12-01 06:45 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:45:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.