VDB

CVE-2024-43830

CVE-2024-43830 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
LinuxLinuxcb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374, c3b7a650c8717aa89df318364609c86cbc040156, c0dc9adf9474ecb7106e60e5472577375aedaed3, 4.19, 3fb6a9d67cfd812a547ac73ec02e1077c26c640d, 09c1583f0e10c918855d6e7540a79461a353e5d6

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxa7e7a3156300a7e1982b03cc9cb8fb0c86434c49, a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, a7e7a3156300a7e1982b03cc9cb8fb0c86434c49
LinuxLinux4.19, 0, 4.19.320
LinuxLinux6.11, *, *
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.1.106-116.1880
amazon:2023kernel-libbpf-devel0
amazon:2023python3-perf0
linuxlinux_kernel4.19, 4.19, 4.19
amazon:2023kernel-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel-libbpf-static0
amazon:2023perf0
amazon:2023kernel-headers0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools-devel0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›