CVE-2024-42128
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
30/07/2024
Last modified:
30/07/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
leds: an30259a: Use devm_mutex_init() for mutex initialization<br />
<br />
In this driver LEDs are registered using devm_led_classdev_register()<br />
so they are automatically unregistered after module&#39;s remove() is done.<br />
led_classdev_unregister() calls module&#39;s led_set_brightness() to turn off<br />
the LEDs and that callback uses mutex which was destroyed already<br />
in module&#39;s remove() so use devm API instead.