Skip to contentSkip to conversation

CVE-2026-98004: iommu/riscv: Serialize command queue publishing

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-98004 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.13 with commit 856c0cfe5c5f6a2cc8d995872eb67bff9c68c57c and fixed in 7.2.7 with commit 6d4c12ab9ab8db87411c863a54e0e97f9197afde
	Issue introduced in 6.13 with commit 856c0cfe5c5f6a2cc8d995872eb67bff9c68c57c and fixed in 7.3-rc3 with commit ca58afa40946acd252a50fa4d4a86f15847a3d7d

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98004

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/iommu/riscv/iommu.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/6d4c12ab9ab8db87411c863a54e0e97f9197afde
	https://git.kernel.org/stable/c/ca58afa40946acd252a50fa4d4a86f15847a3d7d