CVE-2026-99591
published high CVSS 3.1 · 7.8iommu/amd: Force device table to maximum size
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa69ca3401821b7312cb7ec939a8814240fd7b9b3 to < 53d065f896347e22c8aec40524e6ea17a81eb7e2 · a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < 3d44a3c737901ccb39799f5b926946a3f928b494 · a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < fdb721868f361aa33b79e79c7bf261bd2c4f8686 · a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < c01e5bd5a6ad66c94834d8d9704ff0a15869b3b0 · a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < e8f1f1ac434f24604d93ea3c8cbac513b2dead69 · a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < 046f0b83f18c6313f63419517bb4185e3e0d1a6e · a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < bdbbf5ad5d032e8cb4b5356d0f3970829f0309c0 · a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < 6e2213dae78b41976c60133eb10cf99e81916638 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.27 (affected) · 0 to < 2.6.27 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Force device table to maximum size IOMMU can perform out-of-bounds read of the device table entry (DTE) that is adjacent to the last DTE and falls outside the device table. For example, if the device table can hold 0 to N-1 entries, then the IOMMU can be made to fetch the Nth entry, which falls outside the device table. The device table is owned by the hypervisor (HV) and is assigned in 4KB pages that are contiguous in system physical address (SPA). If the out-of-bound DTE falls on a guest-owned page, then the guest can exploit this bug to setup malicious table walks to corrupt HV pages and/or bring down the system. Note that this bug does not manifest when the device table size is set to its maximum size of 2MB. Therefore, force the device table size to the maximum 2MB on affected processors. These are CPU family 0x17 (Zen1/Zen2) through family 0x1a (Zen5/BRH). This is a mitigation for CVE-2024-21963. kdump reuses the previous kernel's device table only when the size encoded in the IOMMU device-table register matches pci_seg->dev_table_size. A mixed rollout disagrees: the unpatched kernel uses the IVRS-derived size and the patched kernel uses 2MB, so __reuse_device_table() rejects the table. On SNP-capable IOMMUs that rejection panics the kdump kernel. Kernels that both have this patch agree on 2MB and reuse succeeds. Update the production kernel and the crash kernel together.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - init_iommu_one() reaches alloc_pci_segment() through get_pci_segment() during IVRS setup. alloc_pci_segment() sets dev_table_size from find_last_devid_acpi(), and the IOMMU reads one dev_table_entry past that iommu_alloc_pages_sz() buffer from the guest page at the next SPA. AC:H - The IOMMU reads that slot only for requester ID dev_table_size/32, past last_bdf, and only if the page after alloc_dev_table()'s boot-time GFP_DMA32 allocation is guest-owned. check_device() will not install that ID. The guest cannot move the boot allocation or choose the SPA that follows it. PR:L - The forged entry is written by a guest tenant. init_iommu_one() publishes the short table at boot, and the IOMMU consumes the adjacent page with no host credential check. Guest kernel control is low privilege on the host, not init-namespace root. UI:N - The guest writes the dev_table_entry image into a page it already owns. No host operator has to mount an image, attach media, or confirm a prompt. S:C - alloc_dev_table() keeps the device table as hypervisor memory. The IOMMU treats the guest page past it as a DTE and walks DTE_HOST_TRP for DMA, so the guest corrupts HV pages across the guest-to-host boundary. C:H - That out-of-bounds dev_table_entry is honored with DTE_FLAG_IR and DTE_HOST_TRP, so device DMA reads follow guest-built page tables into hypervisor SPAs and return host memory to the device. I:H - DTE_FLAG_IW in the same forged entry makes those walks writable, and the guest picks the SPA the device stores to. The fix commit describes the result as malicious table walks that corrupt HV pages. A:H - A malicious walk or the HV corruption it causes brings the host down. The fix commit states that fetching the entry past the programmed device table can bring down the system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < 53d065f896347e22c8aec40524e6ea17a81eb7e2 (affected · git)a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < 3d44a3c737901ccb39799f5b926946a3f928b494 (affected · git)a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < fdb721868f361aa33b79e79c7bf261bd2c4f8686 (affected · git)a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < c01e5bd5a6ad66c94834d8d9704ff0a15869b3b0 (affected · git)a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < e8f1f1ac434f24604d93ea3c8cbac513b2dead69 (affected · git)a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < 046f0b83f18c6313f63419517bb4185e3e0d1a6e (affected · git)a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < bdbbf5ad5d032e8cb4b5356d0f3970829f0309c0 (affected · git)a69ca3401821b7312cb7ec939a8814240fd7b9b3 to < 6e2213dae78b41976c60133eb10cf99e81916638 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.27 (affected)0 to < 2.6.27 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/046f0b83f18c6313f63419517bb4185e3e0d1a6e
- https://git.kernel.org/stable/c/3d44a3c737901ccb39799f5b926946a3f928b494
- https://git.kernel.org/stable/c/53d065f896347e22c8aec40524e6ea17a81eb7e2
- https://git.kernel.org/stable/c/6e2213dae78b41976c60133eb10cf99e81916638
- https://git.kernel.org/stable/c/bdbbf5ad5d032e8cb4b5356d0f3970829f0309c0
- https://git.kernel.org/stable/c/c01e5bd5a6ad66c94834d8d9704ff0a15869b3b0
- https://git.kernel.org/stable/c/e8f1f1ac434f24604d93ea3c8cbac513b2dead69
- https://git.kernel.org/stable/c/fdb721868f361aa33b79e79c7bf261bd2c4f8686
Provider assertions
1Linux · cna
iommu/amd: Force device table to maximum size
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a4a29f521f25677642a52f431c6a0a6d0e0c12b30c9c088ab9520add5bcad0c0
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record