{"id":"CVE-2024-43830","published":"2024-08-17T09:21:48Z","modified":"2026-10-15T00:48:25Z","title":"leds: trigger: Unregister sysfs attributes before calling deactivate()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nleds: trigger: Unregister sysfs attributes before calling deactivate()\n\nTriggers which have trigger specific sysfs attributes typically store\nrelated data in trigger-data allocated by the activate() callback and\nfreed by the deactivate() callback.\n\nCalling device_remove_groups() after calling deactivate() leaves a window\nwhere the sysfs attributes show/store functions could be called after\ndeactivation and then operate on the just freed trigger-data.\n\nMove the device_remove_groups() call to before deactivate() to close\nthis race window.\n\nThis also makes the deactivation path properly do things in reverse order\nof the activation path which calls the activate() callback before calling\ndevice_add_groups().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00249,"percentile":0.1651,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c3b7a650c8717aa89df318364609c86cbc040156","tags":[]},{"url":"https://git.kernel.org/stable/c/d1415125b701ef13370e2761f691ec632a5eb93a","tags":[]},{"url":"https://git.kernel.org/stable/c/09c1583f0e10c918855d6e7540a79461a353e5d6","tags":[]},{"url":"https://git.kernel.org/stable/c/3fb6a9d67cfd812a547ac73ec02e1077c26c640d","tags":[]},{"url":"https://git.kernel.org/stable/c/734ba6437e80dfc780e9ee9d95f912392d12b5ea","tags":[]},{"url":"https://git.kernel.org/stable/c/cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374","tags":[]},{"url":"https://git.kernel.org/stable/c/0788a6f3523d3686a9eed5ea1e6fcce6841277b2","tags":[]},{"url":"https://git.kernel.org/stable/c/c0dc9adf9474ecb7106e60e5472577375aedaed3","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":3.3},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < c3b7a650c8717aa89df318364609c86cbc040156",">= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < d1415125b701ef13370e2761f691ec632a5eb93a",">= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < 09c1583f0e10c918855d6e7540a79461a353e5d6",">= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < 3fb6a9d67cfd812a547ac73ec02e1077c26c640d",">= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < 734ba6437e80dfc780e9ee9d95f912392d12b5ea",">= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374",">= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < 0788a6f3523d3686a9eed5ea1e6fcce6841277b2",">= a7e7a3156300a7e1982b03cc9cb8fb0c86434c49, < c0dc9adf9474ecb7106e60e5472577375aedaed3"]},{"vendor":"Linux","product":"Linux","versions":["4.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:08:31.513833Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-40480","exploited":false,"provenance":"source"}}