CVE-2026-98002
Last modified
CVE-2026-98002 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.
Description
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 757d2b1fdf5b7d6eead5963a49b5780617987ab8, < 80c231f5577229d1e90a1e312b3095f9502f8625; >= 757d2b1fdf5b7d6eead5963a49b5780617987ab8, < fa5c0827f0b7bac6d0a188f10118151769ae68fd |
| Linux | Linux | 7.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98002?
How severe is CVE-2026-98002?
How do I fix CVE-2026-98002?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-97996In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97997In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97998In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9800A flaw was found in Keycloak Policy Enforcer. This vulnerabi…8.1
- CVE-2026-98000In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98001In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98003In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98004In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98005In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98006In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98007In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98008In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98002?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
