CVE-2026-98002
Received Received - Intake

Ineffective Error Check in Linux Kernel IOMMU AMD Driver

Vulnerability report for CVE-2026-98002, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves an incorrect error check in the AMD IOMMU (Input-Output Memory Management Unit) nested domain allocation. The function amd_iommu_pdom_id_alloc() returns a negative errno on failure, but the return value is stored in a u32 variable before checking if it is valid. This causes the negative value to be misinterpreted as a large positive number, bypassing the error check and leading to invalid domain ID usage.

Detection Guidance

This vulnerability is specific to the Linux kernel's IOMMU AMD driver and does not have direct network or system detection commands. It requires kernel code inspection or monitoring for IOMMU-related errors in system logs. Check kernel logs for IOMMU AMD errors or failures in nested domain allocation.

Impact Analysis

This vulnerability could allow an attacker to bypass security mechanisms by causing the system to use an invalid domain ID. This might lead to memory corruption, privilege escalation, or denial of service in systems using AMD IOMMU with nested virtualization enabled.

Mitigation Strategies

Update the Linux kernel to a patched version that resolves this issue. Monitor kernel updates from your distribution and apply them promptly. No immediate workaround is suggested beyond patching.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98002. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart