# CVE-2024-43830: leds: trigger: Unregister sysfs attributes before calling deactivate()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-08-17 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2024-43830, DEBIAN-CVE-2024-43830
- Record: https://cvemate.com/vulnerability/CVE-2024-43830 · JSON: https://cvemate.com/vulnerability/CVE-2024-43830/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.251%, percentile 17.591%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 129)

- debian linux (Debian): \< 6.1.106-1 \| \< 6.10.3-1
- ubuntu linux (Ubuntu): \< 5.4.0-200.220 \| \< 5.15.0-125.135 \| \< 6.8.0-50.51
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1135.145 \| \< 5.15.0-1072.78 \| \< 6.8.0-1020.22
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1072.78~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1135.145~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1020.22~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1135.145+fips1 \| All versions (No fix recorded) \| \< 5.15.0-1072.78+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1140.147 \| \< 5.15.0-1075.84 \| \< 6.8.0-1020.23
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1078.87~20.04.1

## References (first 20 of 31)

- <https://git.kernel.org/stable/c/c3b7a650c8717aa89df318364609c86cbc040156>
- <https://git.kernel.org/stable/c/d1415125b701ef13370e2761f691ec632a5eb93a>
- <https://git.kernel.org/stable/c/09c1583f0e10c918855d6e7540a79461a353e5d6>
- <https://git.kernel.org/stable/c/3fb6a9d67cfd812a547ac73ec02e1077c26c640d>
- <https://git.kernel.org/stable/c/734ba6437e80dfc780e9ee9d95f912392d12b5ea>
- <https://git.kernel.org/stable/c/cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374>
- <https://git.kernel.org/stable/c/0788a6f3523d3686a9eed5ea1e6fcce6841277b2>
- <https://git.kernel.org/stable/c/c0dc9adf9474ecb7106e60e5472577375aedaed3>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://ubuntu.com/security/CVE-2024-43830>
- <https://www.cve.org/CVERecord?id=CVE-2024-43830>
- <https://git.kernel.org/linus/c0dc9adf9474ecb7106e60e5472577375aedaed3>
- <https://ubuntu.com/security/notices/USN-7088-1>
- <https://ubuntu.com/security/notices/USN-7088-2>
- <https://ubuntu.com/security/notices/USN-7088-3>
- <https://ubuntu.com/security/notices/USN-7088-4>
- <https://ubuntu.com/security/notices/USN-7100-1>
- <https://ubuntu.com/security/notices/USN-7100-2>

---

Data as of 2026-12-05T03:52:18.191Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
