CVE-2024-43830
Published: Aug 17, 2024
Modified: May 12, 2026
Description
In the Linux kernel, the following vulnerability has been resolved: leds: trigger: Unregister sysfs attributes before calling deactivate() Triggers which have trigger specific sysfs attributes typically store related data in trigger-data allocated by the activate() callback and freed by the deactivate() callback. Calling device_remove_groups() after calling deactivate() leaves a window where the sysfs attributes show/store functions could be called after deactivation and then operate on the just freed trigger-data. Move the device_remove_groups() call to before deactivate() to close this race window. This also makes the deactivation path properly do things in reverse order of the activation path which calls the activate() callback before calling device_add_groups().
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 - < c3b7a650c8717aa89df318364609c86cbc040156affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 - < d1415125b701ef13370e2761f691ec632a5eb93aaffected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 - < 09c1583f0e10c918855d6e7540a79461a353e5d6affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 - < 3fb6a9d67cfd812a547ac73ec02e1077c26c640daffected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 - < 734ba6437e80dfc780e9ee9d95f912392d12b5ea+3 more versions |
Linux | Linux | affected 4.19unaffected 0 - < 4.19unaffected 4.19.320 - <= 4.19.*unaffected 5.4.282 - <= 5.4.*unaffected 5.10.224 - <= 5.10.*+5 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now