VDB

CVE-2026-98002

CVE-2026-98002 PUBLISHED CVSS 7.8 HIGH

iommu/amd: Fix ineffective error check in nested domain allocation

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Fix ineffective error check in nested domain allocation amd_iommu_pdom_id_alloc() returns an int: a domain ID on success, or the negative errno from ida_alloc_range() when the ID space is exhausted or memory is short. amd_iommu_alloc_domain_nested() stores that return value in gdom_info->hdom_id, which is a u32, and only then tests it: gdom_info->hdom_id = amd_iommu_pdom_id_alloc(); if (gdom_info->hdom_id <= 0) { The assignment discards the sign, so -ENOSPC becomes 0xffffffe4 and the test never fires. The nested domain is then set up with a host domain ID that was never allocated, instead of the allocation failing with -ENOSPC. Keep the value in an int, test it there, and store it only once it is known to be valid, which is what the other amd_iommu_pdom_id_alloc() callers already do.

EPSS 0.11% · 1.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxfa5c0827f0b7bac6d0a188f10118151769ae68fd, 80c231f5577229d1e90a1e312b3095f9502f8625

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score
0.11%
1.2th percentile

Affected products

VendorProductVersions
LinuxLinux757d2b1fdf5b7d6eead5963a49b5780617987ab8, 757d2b1fdf5b7d6eead5963a49b5780617987ab8
LinuxLinux7.0, 0, 7.2.7
LinuxLinux7.3, 0, 7.2.7
linuxlinux_kernel7.0, 7.0

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (2 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98002
vulnetix vdb fixes CVE-2026-98002

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98002/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›