# CVE-2026-53283: iommu/amd: Bounds-check devid in \_\_rlookup\_amd\_iommu()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-06-26T19:40:44.573Z
- **Modified:** 2026-11-06T17:18:18.267Z

## Who should check

- Anyone running Linux \>= e874c666b15bcb6280c4e747d8de3879bb728829, \< f0a0f01787ecece814414b0665df879b69849d09; \>= e874c666b15bcb6280c4e747d8de3879bb728829, \< 79db4cbab81f07ce69a93d379ebd40d3709ecfb2; \>= e874c666b15bcb6280c4e747d8de3879bb728829, \< 07d0f496fe7ec5abe3bee7e38be709521567bb33
- Anyone running Linux 6.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/amd: Bounds-check devid in \_\_rlookup\_amd\_iommu()

iommu\_device\_register() walks every device on the PCI bus via
bus\_for\_each\_dev() and calls amd\_iommu\_probe\_device() for each. The
inlined check\_device() path computes the device's sbdf, calls
rlookup\_amd\_iommu() to find the owning IOMMU, and only afterwards
verifies devid \<= pci\_seg-\>last\_bdf. \_\_rlookup\_amd\_iommu() indexes
rlookup\_table\[devid\] with no bounds check of its own, so for a PCI
device whose BDF is not described by the IVRS, the lookup reads past
the end of the allocation before the caller's bounds check can run.

This was harmless before commit e874c666b15b ("iommu/amd: Change
rlookup, irq\_lookup, and alias to use kvalloc()"): the table was a
zeroed page-order allocation, so the over-read returned NULL and the
caller's NULL check skipped the device. After that commit the table is
a tight kvcalloc() and the over-read returns adjacent slab contents,
which check\_device() then dereferences as a struct amd\_iommu \*,
causing a boot-time GPF.

Seen on Google Compute Engine ct6e VMs, where the virtualized IVRS
describes only the four TPU endpoints 00:04.0-07.0; the gVNIC at
00:08.0 (devid 0x40) indexes 56 bytes past the 456-byte allocation,
into the adjacent kmalloc-512 slab object:

  pci 0000:00:04.0: Adding to iommu group 0
  pci 0000:00:05.0: Adding to iommu group 1
  pci 0000:00:06.0: Adding to iommu group 2
  pci 0000:00:07.0: Adding to iommu group 3
  Oops: general protection fault, probably for non-canonical address 0x3a64695f78746382: 0000 \[\#1\] SMP NOPTI
  CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.18.22 \#1
  Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/06/2025
  RIP: 0010:amd\_iommu\_probe\_device+0x54/0x3a0
  Call Trace:
   \_\_iommu\_probe\_device+0x107/0x520
   probe\_iommu\_group+0x29/0x50
   bus\_for\_each\_dev+0x7e/0xe0
   iommu\_device\_register+0xc9/0x240
   iommu\_go\_to\_state+0x9c0/0x1c60
   amd\_iommu\_init+0x14/0x40
   pci\_iommu\_init+0x16/0x60
   do\_one\_initcall+0x47/0x2f0

Guard the array access in \_\_rlookup\_amd\_iommu(). With the fix applied
on 6.18.22, the gVNIC at 00:08.0 is skipped cleanly and the VM boots.

## Affected and fixed versions

- Linux: \>= e874c666b15bcb6280c4e747d8de3879bb728829, \< f0a0f01787ecece814414b0665df879b69849d09; \>= e874c666b15bcb6280c4e747d8de3879bb728829, \< 79db4cbab81f07ce69a93d379ebd40d3709ecfb2; \>= e874c666b15bcb6280c4e747d8de3879bb728829, \< 07d0f496fe7ec5abe3bee7e38be709521567bb33 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 07d0f496fe7ec5abe3bee7e38be709521567bb33 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53283. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53283.md
Affected: Linux >= e874c666b15bcb6280c4e747d8de3879bb728829, < f0a0f01787ecece814414b0665df879b69849d09; >= e874c666b15bcb6280c4e747d8de3879bb728829, < 79db4cbab81f07ce69a93d379ebd40d3709ecfb2; >= e874c666b15bcb6280c4e747d8de3879bb728829, < 07d0f496fe7ec5abe3bee7e38be709521567bb33; Linux 6.16
Fixed in: Linux 79db4cbab81f07ce69a93d379ebd40d3709ecfb2, Linux 07d0f496fe7ec5abe3bee7e38be709521567bb33

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53283 being exploited?

There is no confirmed exploitation: CVE-2026-53283 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53283?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53283?

Linux \>= e874c666b15bcb6280c4e747d8de3879bb728829, \< f0a0f01787ecece814414b0665df879b69849d09; \>= e874c666b15bcb6280c4e747d8de3879bb728829, \< 79db4cbab81f07ce69a93d379ebd40d3709ecfb2; \>= e874c666b15bcb6280c4e747d8de3879bb728829, \< 07d0f496fe7ec5abe3bee7e38be709521567bb33; Linux 6.16.

### Is there a fix for CVE-2026-53283?

Yes. Fixed in Linux 79db4cbab81f07ce69a93d379ebd40d3709ecfb2, Linux 07d0f496fe7ec5abe3bee7e38be709521567bb33. Upgrade Linux to 07d0f496fe7ec5abe3bee7e38be709521567bb33 or later.

### How do I check if I'm affected by CVE-2026-53283?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f0a0f01787ecece814414b0665df879b69849d09>
- patch: <https://git.kernel.org/stable/c/79db4cbab81f07ce69a93d379ebd40d3709ecfb2>
- patch: <https://git.kernel.org/stable/c/07d0f496fe7ec5abe3bee7e38be709521567bb33>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53283>

HTML: <https://flawdb.com/CVE-2026-53283> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53283>
