Bug 2301493 (CVE-2024-42128) - CVE-2024-42128 kernel: leds: an30259a: Use devm_mutex_init() for mutex initialization
Summary: CVE-2024-42128 kernel: leds: an30259a: Use devm_mutex_init() for mutex initia...
Keywords:
Status: NEW
Alias: CVE-2024-42128
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301809
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 08:34 UTC by OSIDB Bzimport
Modified: 2024-09-12 13:45 UTC (History)
4 users (show)

Fixed In Version: kernel 6.6.39, kernel 6.9.9, kernel 6.10
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 08:34:55 UTC
In the Linux kernel, the following vulnerability has been resolved:

leds: an30259a: 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.

Comment 1 Mauro Matteo Cascella 2024-07-30 19:45:19 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073026-CVE-2024-42128-9ac9@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 19:45:38 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301809]


Note You need to log in before you can comment on or make changes to this bug.