CVE-2024-43830

leds: trigger: Unregister sysfs attributes before calling deactivate()

HIGH
7.8
CVSS Score
Published: August 17, 2024 at 09:21 AM UTC
Updated: October 15, 2026 at 01:18 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions4.19 ≤ v < 4.19.3204.20 ≤ v < 5.4.2825.11 ≤ v < 5.15.1655.16 ≤ v < 6.1.1035.5 ≤ v < 5.10.2246.2 ≤ v < 6.6.446.7 ≤ v < 6.10.34.19a7e7a3156300a7e1982b03cc9cb8fb0c86434c49
Vendor states this is fixed in 0788a6f3523d3686a9eed5ea1e6fcce6841277b2 (fixed)
Vendor states this is fixed in 09c1583f0e10c918855d6e7540a79461a353e5d6 (fixed)
Vendor states this is fixed in 3fb6a9d67cfd812a547ac73ec02e1077c26c640d (fixed)
Vendor states this is fixed in 734ba6437e80dfc780e9ee9d95f912392d12b5ea (fixed)
Vendor states this is fixed in c0dc9adf9474ecb7106e60e5472577375aedaed3 (fixed)
Vendor states this is fixed in c3b7a650c8717aa89df318364609c86cbc040156 (fixed)
Vendor states this is fixed in cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374 (fixed)
Vendor states this is fixed in d1415125b701ef13370e2761f691ec632a5eb93a (fixed)
Vendor states this is fixed in 4.19 (unaffected)
Vendor states this is fixed in 4.19.320 (unaffected)
Vendor states this is fixed in 5.10.224 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 5.4.282 (unaffected)
Vendor states this is fixed in 6.1.103 (unaffected)
Vendor states this is fixed in 6.10.3 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.44 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0788a6f3523d3686a9eed5ea1e6fcce6841277b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/09c1583f0e10c918855d6e7540a79461a353e5d6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3fb6a9d67cfd812a547ac73ec02e1077c26c640d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/734ba6437e80dfc780e9ee9d95f912392d12b5ea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c0dc9adf9474ecb7106e60e5472577375aedaed3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c3b7a650c8717aa89df318364609c86cbc040156
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d1415125b701ef13370e2761f691ec632a5eb93a

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card