Skip to contentSkip to conversation

CVE-2026-53057: iommu/riscv: Add IOTINVAL after updating DDT/PDT entries

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 24

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: Add IOTINVAL after updating DDT/PDT entries

Add riscv_iommu_iodir_iotinval() to perform required TLB and context cache invalidations after updating DDT or PDT entries, as mandated by the RISC-V IOMMU specification (Section 6.3.1 and 6.3.2).

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

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

	Issue introduced in 6.13 with commit 488ffbf181718b9ad8c1838cb249d60973e78eda and fixed in 6.18.33 with commit 3f917d9bff68600f77561900f3145bd4706dc840
	Issue introduced in 6.13 with commit 488ffbf181718b9ad8c1838cb249d60973e78eda and fixed in 7.0.10 with commit d99d1c13faa793ff1abab0d20ab6473c838081b3
	Issue introduced in 6.13 with commit 488ffbf181718b9ad8c1838cb249d60973e78eda and fixed in 7.1 with commit f5c262b544975e067ea265fc7403aefbbea8563e

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-53057

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/3f917d9bff68600f77561900f3145bd4706dc840
	https://git.kernel.org/stable/c/d99d1c13faa793ff1abab0d20ab6473c838081b3
	https://git.kernel.org/stable/c/f5c262b544975e067ea265fc7403aefbbea8563e