Re: [RFC] races in access to pci_devices

Greg KH (greg@kroah.com)
Wed, 14 Nov 2001 21:24:41 -0800


On Wed, Nov 14, 2001 at 11:00:26PM -0500, Alexander Viro wrote:
> Linus, as far as I can see there's no exclusion between
> the code that walks pci_devices and pci_insert_device(). It's
> not a big deal wrt security (not many laptops with remote access)
> but...

It's a bigger deal with large servers that have PCI Hotplug controllers.

> What locking is supposed to be there?

I'll add a lock to keep the problem from happening.

thanks,

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