[PATCH] iommu/rockchip: Fix device reference leak in rk_iommu_of_xlate()

Xiangwu Lai laixiangwu at cmss.chinamobile.com
Mon Nov 30 23:47:47 PST 2026


Hello Joerg, Will,

A gentle ping on this patch, sent three weeks ago on Nov 12:

  iommu/rockchip: Fix device reference leak in rk_iommu_of_xlate()
  https://lore.kernel.org/all/20261112021845.1867-1-laixiangwu@cmss.chinamobile.com/

rk_iommu_of_xlate() takes a reference on the IOMMU platform device with
of_find_device_by_node(), but when the per-device data allocation fails
the error path returns without dropping it, so every client device whose
DT translation hits the allocation failure leaks the reference.

Is there anything blocking this patch, or does it just need more time?

Thanks,
Xiangwu Lai





More information about the Linux-rockchip mailing list