rootpwn

high · CVSS v3 7.1

CVE-2026-98004

CVE-2026-98004 is a Linux kernel race condition in the RISC-V IOMMU command queue publishing path. It can allow software producer state to a

Overview

CVE-2026-98004 is a Linux kernel race condition in the RISC-V IOMMU command queue publishing path. It can allow software producer state to advance before the hardware tail is updated and can block other CPUs when the command queue is full. It matters because IOMMU command handling affects DMA isolation and system stability on RISC-V systems.

Description

In the Linux kernel, the following vulnerability has been resolved: iommu/riscv: Serialize command queue publishing Serialize command queue publishing so software producer state advances only after a command is written and the hardware tail is updated. Wait for hardware consumption outside the queue lock when the command queue is full so other CPUs are not blocked behind a long poll.

Impact

The flaw primarily affects integrity and availability of IOMMU command processing, with possible secondary confidentiality risk if DMA isolation is weakened. It can cause incorrect IOMMU command ordering, device DMA mapping errors, or CPU stalls when the command queue is full. Impact is most relevant to multi-CPU RISC-V Linux hosts using IOMMU-managed devices. Defenders should treat it as a kernel stability and DMA-isolation issue rather than a confirmed remote code execution.

Remediation

Apply the vendor or distribution kernel update that includes the iommu/riscv command queue serialization fix, then reboot affected hosts. Verify the running kernel version against the patch notes and confirm the fix is present. Until patched, reduce exposure by limiting untrusted or high-throughput DMA devices and monitoring kernel logs for IOMMU faults or stalls. If IOMMU is not required for the workload, consider temporarily disabling it as a compensating control, recognizing that this reduces DMA isolation.

Risk context

CVSS v3 is 7.1 (High) and no EPSS score is provided, so urgency should be driven by exposure of RISC-V Linux systems with IOMMU and patch availability. It is a high-priority kernel fix for affected platforms, especially multi-CPU or device-heavy deployments.

Affected products

  • Linux kernel
  • RISC-V IOMMU driver
  • RISC-V Linux systems

Scores

Severity
high
CVSS v2
6.6
CVSS v3
7.1
CVSS v4
—
EPSS
—

linux-kernel riscv iommu race-condition locking dma availability integrity

← All CVEs