Shellfeed logo Shellfeed

CVE-2026-89451 · UNKNOWN

Summary: iommu/sva: Set handle->dev before the SVA handle is visible

Details

In the Linux kernel, the following vulnerability has been resolved:

iommu/sva: Set handle->dev before the SVA handle is visible

iommu_attach_device_pasid() installs the new SVA attach handle in the
group PASID lookup before iommu_sva_bind_device() returns. A concurrent
bind can therefore find and reuse the same handle after iommu_sva_lock is
dropped.

handle->dev was initialized after dropping iommu_sva_lock. This leaves a
window where a racing bind can return a handle whose dev pointer is still
NULL. A subsequent iommu_sva_unbind_device() can then dereference it via
handle->dev->iommu_group.

Initialize handle->dev before releasing iommu_sva_lock so any visible SVA
handle is fully initialized.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [be51b1d6bbff48c7d1943a8ff1e5a55777807f6e – c4c71368bc5c5b3840590d39b4cfa12d733cadf4]
  • Linux Kernel [6.2.0 – 6.6.160] [6.7.0 – 6.12.109] [6.13.0 – 6.18.50] [6.19.0 – 7.2.4]

References