leds: trigger: Unregister sysfs attributes before calling deactivate()
Summary
| CVE | CVE-2024-43830 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-08-17 10:15:08 UTC |
| Updated | 2026-05-12 12:17:07 UTC |
| 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(). |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-416
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 c3b7a650c8717aa89df318364609c86cbc040156 git | Not specified |
| CNA | Linux | Linux | affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 d1415125b701ef13370e2761f691ec632a5eb93a git | Not specified |
| CNA | Linux | Linux | affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 09c1583f0e10c918855d6e7540a79461a353e5d6 git | Not specified |
| CNA | Linux | Linux | affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 3fb6a9d67cfd812a547ac73ec02e1077c26c640d git | Not specified |
| CNA | Linux | Linux | affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 734ba6437e80dfc780e9ee9d95f912392d12b5ea git | Not specified |
| CNA | Linux | Linux | affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374 git | Not specified |
| CNA | Linux | Linux | affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 0788a6f3523d3686a9eed5ea1e6fcce6841277b2 git | Not specified |
| CNA | Linux | Linux | affected a7e7a3156300a7e1982b03cc9cb8fb0c86434c49 c0dc9adf9474ecb7106e60e5472577375aedaed3 git | Not specified |
| CNA | Linux | Linux | affected 4.19 | Not specified |
| CNA | Linux | Linux | unaffected 4.19 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.320 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.282 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.224 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.165 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.103 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.44 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10.3 6.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/c3b7a650c8717aa89df318364609c86cbc040156 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/09c1583f0e10c918855d6e7540a79461a353e5d6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c0dc9adf9474ecb7106e60e5472577375aedaed3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3fb6a9d67cfd812a547ac73ec02e1077c26c640d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/10/msg00003.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/0788a6f3523d3686a9eed5ea1e6fcce6841277b2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/734ba6437e80dfc780e9ee9d95f912392d12b5ea | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/d1415125b701ef13370e2761f691ec632a5eb93a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.