Re: [PATCH] iommu/vt-d: fix race between free_irte() and get_irte()

From: Joerg Roedel
Date: Wed Jul 23 2014 - 10:40:32 EST


On Tue, Jul 22, 2014 at 08:27:19AM -0600, Greg Edwards wrote:
> get_irte() can race with free_irte() and dereference a NULL iommu
> pointer.

Have you seen any real occurance of this race? Get_irte is called in the
set_affinity path, how can that race with the irq being freed?


Joerg

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/