Re: [PATCH] iommu: check if group is NULL before remove device
From: Joerg Roedel
Date: Thu Jul 15 2021 - 03:20:12 EST
On Thu, Jul 15, 2021 at 09:11:50AM +0200, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
>
> if probe is failing, iommu_group may be not initialized,
Sentences start with capital letters.
IOMMU patch subjects too, after the 'iommu:' prefix.
> so freeing it will result in NULL pointer access
Please describe in more detail how this NULL-ptr dereference is
triggered.
Regards,
Joerg