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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-08-17T09:21:48.946Z
- **Modified:** 2026-10-15T01:18:47.510Z

## Who should check

- Anyone running Linux \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< c3b7a650c8717aa89df318364609c86cbc040156; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< d1415125b701ef13370e2761f691ec632a5eb93a; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 09c1583f0e10c918855d6e7540a79461a353e5d6; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 3fb6a9d67cfd812a547ac73ec02e1077c26c640d; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 734ba6437e80dfc780e9ee9d95f912392d12b5ea; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 0788a6f3523d3686a9eed5ea1e6fcce6841277b2; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< c0dc9adf9474ecb7106e60e5472577375aedaed3
- Anyone running Linux 4.19

## 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 and fixed versions

- Linux: \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< c3b7a650c8717aa89df318364609c86cbc040156; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< d1415125b701ef13370e2761f691ec632a5eb93a; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 09c1583f0e10c918855d6e7540a79461a353e5d6; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 3fb6a9d67cfd812a547ac73ec02e1077c26c640d; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 734ba6437e80dfc780e9ee9d95f912392d12b5ea; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 0788a6f3523d3686a9eed5ea1e6fcce6841277b2; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< c0dc9adf9474ecb7106e60e5472577375aedaed3 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-43830. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43830.md
Affected: Linux >= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < c3b7a650c8717aa89df318364609c86cbc040156; >= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < d1415125b701ef13370e2761f691ec632a5eb93a; >= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < 09c1583f0e10c918855d6e7540a79461a353e5d6; >= a7e7a3156300a7e1982b03c…
Fixed in: Linux 09c1583f0e10c918855d6e7540a79461a353e5d6, Linux 3fb6a9d67cfd812a547ac73ec02e1077c26c640d, Linux 734ba6437e80dfc780e9ee9d95f912392d12b5ea, Linux 0788a6f3523d3686a9eed5ea1e6fcce6841277b2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-43830 being exploited?

There is no confirmed exploitation: CVE-2024-43830 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-43830?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-43830?

Linux \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< c3b7a650c8717aa89df318364609c86cbc040156; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< d1415125b701ef13370e2761f691ec632a5eb93a; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 09c1583f0e10c918855d6e7540a79461a353e5d6; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 3fb6a9d67cfd812a547ac73ec02e1077c26c640d; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 734ba6437e80dfc780e9ee9d95f912392d12b5ea; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< 0788a6f3523d3686a9eed5ea1e6fcce6841277b2; \>= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, \< c0dc9adf9474ecb7106e60e5472577375aedaed3; Linux 4.19.

### Is there a fix for CVE-2024-43830?

Yes. Fixed in Linux 09c1583f0e10c918855d6e7540a79461a353e5d6, Linux 3fb6a9d67cfd812a547ac73ec02e1077c26c640d, Linux 734ba6437e80dfc780e9ee9d95f912392d12b5ea, Linux 0788a6f3523d3686a9eed5ea1e6fcce6841277b2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-43830?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c3b7a650c8717aa89df318364609c86cbc040156>
- patch: <https://git.kernel.org/stable/c/d1415125b701ef13370e2761f691ec632a5eb93a>
- patch: <https://git.kernel.org/stable/c/09c1583f0e10c918855d6e7540a79461a353e5d6>
- patch: <https://git.kernel.org/stable/c/3fb6a9d67cfd812a547ac73ec02e1077c26c640d>
- patch: <https://git.kernel.org/stable/c/734ba6437e80dfc780e9ee9d95f912392d12b5ea>
- patch: <https://git.kernel.org/stable/c/cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374>
- patch: <https://git.kernel.org/stable/c/0788a6f3523d3686a9eed5ea1e6fcce6841277b2>
- patch: <https://git.kernel.org/stable/c/c0dc9adf9474ecb7106e60e5472577375aedaed3>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-43830>

HTML: <https://flawdb.com/CVE-2024-43830> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-43830>
