[git pull] IOMMU Fixes for Linux v6.17-rc2

From: Joerg Roedel
Date: Fri Aug 22 2025 - 05:08:15 EST


Hi Linus,

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git tags/iommu-fixes-v6.17-rc2

for you to fetch changes up to 99d4d1a070870aa08163af8ce0522992b7f35d8c:

iommu/riscv: prevent NULL deref in iova_to_phys (2025-08-22 08:51:49 +0200)

----------------------------------------------------------------
IOMMU Fixes for Linux v6.17-rc2:

Including:

- AMD-Vi: Fix potential stack buffer overflow via command line.

- NVidia-Tegra: Fix endianess sparse warning.

- ARM-SMMU: Fix ATS-masters reference count issue.

- Virtio-IOMMU: Fix race condition on instance lookup.

- RISC-V IOMMU: Fix potential NULL-ptr dereference in
riscv_iommu_iova_to_phys().

----------------------------------------------------------------
Kees Cook (1):
iommu/amd: Avoid stack buffer overflow from kernel cmdline

Nicolin Chen (2):
iommu/tegra241-cmdqv: Fix missing cpu_to_le64 at lvcmdq_err_map
iommu/arm-smmu-v3: Fix smmu_domain->nr_ats_masters decrement

Robin Murphy (1):
iommu/virtio: Make instance lookup robust

XianLiang Huang (1):
iommu/riscv: prevent NULL deref in iova_to_phys

drivers/iommu/amd/init.c | 4 ++--
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +-
drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c | 8 +++++---
drivers/iommu/riscv/iommu.c | 2 +-
drivers/iommu/virtio-iommu.c | 15 +++++++++------
5 files changed, 18 insertions(+), 13 deletions(-)

Please pull.

Thanks,

Joerg