iommu/amd: Force device table to maximum size (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.15 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/53d065f896347e22c8aec40524e6ea17a81eb7e2
- https://git.kernel.org/stable/c/3d44a3c737901ccb39799f5b926946a3f928b494
- https://git.kernel.org/stable/c/fdb721868f361aa33b79e79c7bf261bd2c4f8686
- https://git.kernel.org/stable/c/c01e5bd5a6ad66c94834d8d9704ff0a15869b3b0
- https://git.kernel.org/stable/c/e8f1f1ac434f24604d93ea3c8cbac513b2dead69
- https://git.kernel.org/stable/c/046f0b83f18c6313f63419517bb4185e3e0d1a6e
- https://git.kernel.org/stable/c/bdbbf5ad5d032e8cb4b5356d0f3970829f0309c0
- https://git.kernel.org/stable/c/6e2213dae78b41976c60133eb10cf99e81916638
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-131041
- GCVE · GCVE-0-2026-99591
CERT-FR advisories
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ a69ca3401821b7312cb7ec939a8814240fd7b9b3 < 53d065f896347e22c8aec40524e6ea17a81eb7e2 affected : ≥ a69ca3401821b7312cb7ec939a8814240fd7b9b3 < 3d44a3c737901ccb39799f5b926946a3f928b494 affected : ≥ a69ca3401821b7312cb7ec939a8814240fd7b9b3 < fdb721868f361aa33b79e79c7bf261bd2c4f8686 affected : ≥ a69ca3401821b7312cb7ec939a8814240fd7b9b3 < c01e5bd5a6ad66c94834d8d9704ff0a15869b3b0 affected : ≥ a69ca3401821b7312cb7ec939a8814240fd7b9b3 < e8f1f1ac434f24604d93ea3c8cbac513b2dead69 affected : ≥ a69ca3401821b7312cb7ec939a8814240fd7b9b3 < 046f0b83f18c6313f63419517bb4185e3e0d1a6e affected : ≥ a69ca3401821b7312cb7ec939a8814240fd7b9b3 < bdbbf5ad5d032e8cb4b5356d0f3970829f0309c0 affected : ≥ a69ca3401821b7312cb7ec939a8814240fd7b9b3 < 6e2213dae78b41976c60133eb10cf99e81916638 Other versions : unaffected |
| Linux · Linux | affected : 2.6.27 unaffected : ≥ 0 < 2.6.27 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.64 ≤ 6.18.* unaffected : ≥ 7.3.5 ≤ 7.3.* unaffected : ≥ 7.4-rc3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |