CVE-2024-43830
leds: trigger: Unregister sysfs attributes before calling deactivate()
Reported by linux · Published August 17, 2024
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().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374, c3b7a650c8717aa89df318364609c86cbc040156, c0dc9adf9474ecb7106e60e5472577375aedaed3, 4.19, 3fb6a9d67cfd812a547ac73ec02e1077c26c640d, 09c1583f0e10c918855d6e7540a79461a353e5d6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 |
| Linux | Linux | 4.19, 0, 4.19.320 |
| Linux | Linux | 6.11, *, * |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.106-116.188 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| linux | linux_kernel | 4.19, 4.19, 4.19 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
Timeline
- Aug 17, 2024 CVE Published
- Aug 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
- Jan 6, 2025 CVE Updated
- Jan 5, 2026 Security Advisory (152 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (138 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-43830
vulnetix vdb fixes CVE-2024-43830
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-43830/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart