Re: [PATCH] iommu: Guard iommu_group_first_dev() against an empty device list

From: Li Ximo

Date: Tue Nov 03 2026 - 03:56:22 EST


Hi Jason,

On Mon, Oct 26, 2026 at 11:37:58AM -0300, Jason Gunthorpe wrote:
> Are any of these even possible to be called with an empty group? How?
>
> The giant wall of text at the top failed to explain how this could
> ever even happen.

You are right to push on this. After re-auditing the call paths on
7.3, I could not demonstrate a reachable path that calls these helpers
with an empty group. I was wrong to present this as a real bug without
a demonstrated trigger. Please consider the patch withdrawn. Sorry for
the noise, and thanks for the review.

Best regards,
Li Ximo