In the Linux kernel, the following vulnerability has been resolved: leds: mlxreg: Use devmmutexinit() for mutex initialization In this driver LEDs are registered using devmledclassdevregister() so they are automatically unregistered after module's remove() is done. ledclassdevunregister() calls module's ledset_brightness() to turn off the LEDs and that callback uses mutex which was destroyed already in module's remove() so use devm API instead.