VDB

CVE-2024-42129

CVE-2024-42129 PUBLISHED

leds: mlxreg: Use devm_mutex_init() for mutex initialization

Reported by linux · Published July 30, 2024

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.9.9, 6.6.63, 6.1.132

Affected products

VendorProductVersions
LinuxLinux386570d76f2f25a347a7118fa54315d56b46e7be, 386570d76f2f25a347a7118fa54315d56b46e7be, 386570d76f2f25a347a7118fa54315d56b46e7be
LinuxLinux4.17, 0, 6.1.132
linuxlinux_kernel4.17, 4.17, 4.17
LinuxLinux386570d76f2f25a347a7118fa54315d56b46e7be, 386570d76f2f25a347a7118fa54315d56b46e7be, 4.17

Timeline

  • Jul 29, 2024 CVE Published
  • Jul 30, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Jan 6, 2026 Security Advisory (355 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (237 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-42129
vulnetix vdb fixes CVE-2024-42129

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42129/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›