On Wed, Jul 23, 2014 at 10:13:26AM -0600, Greg Edwards wrote: > A user process setting the CPU affinity of an IRQ for a KVM > direct-assigned device via /proc/irq/<IRQ#>/smp_affinity can race with > the IRQ being released by QEMU, resulting in a NULL iommu pointer > dereference in get_irte().
Maybe I wasn't clear enough, what I am missing is a panic message with a backtrace from the NULL pointer deref you are seeing in the commit message. Also I am still wondering why it is possible to set affinity from userspace while the irq is about to be freed. Shouldn't the proc files are already unregistered when the irq is freed? Joerg _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu