On Wed, Jul 10, 2024 at 07:57:01PM +0200, Gerhard Engleder wrote: > + ret = sysfs_create_group(&pci_dev->dev.kobj, &attrs_group); You just raced with userspace and lost :( Please use the default groups for your driver instead, that way the driver core will handle all of the creation/cleanup properly for you without having to worry you about it. thanks, greg k-h