{"id":"CVE-2024-43830","aliases":["CVE-2024-43830"],"related":[],"kind":"vulnerability","state":"published","title":"leds: trigger: Unregister sysfs attributes before calling deactivate()","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: leds: trigger: Anular el registro de los atributos sysfs antes de llamar a desactivar() Los activadores que tienen atributos sysfs específicos del activador normalmente almacenan datos relacionados en datos de activación asignados por la devolución de llamada enable() y liberados por el desactivar() devolución de llamada. Llamar a device_remove_groups() después de llamar a deactivate() deja una ventana donde los atributos sysfs muestran/almacenan funciones que se pueden llamar después de la desactivación y luego operar con los datos de activación recién liberados. Mueva la llamada device_remove_groups() antes de desactivar() para cerrar esta ventana de ejecución. Esto también hace que la ruta de desactivación haga las cosas correctamente en orden inverso a la ruta de activación que llama a la devolución de llamada enable() antes de llamar a device_add_groups().","source":"nvd"}],"published":"2024-08-17T09:21:48.946Z","modified":"2026-10-15T01:18:47.510Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"a7e7a3156300a7e1982b03cc9cb8fb0c86434c49","fixed":"c3b7a650c8717aa89df318364609c86cbc040156","status":"affected"},{"type":"git","introduced":"a7e7a3156300a7e1982b03cc9cb8fb0c86434c49","fixed":"d1415125b701ef13370e2761f691ec632a5eb93a","status":"affected"},{"type":"git","introduced":"a7e7a3156300a7e1982b03cc9cb8fb0c86434c49","fixed":"09c1583f0e10c918855d6e7540a79461a353e5d6","status":"affected"},{"type":"git","introduced":"a7e7a3156300a7e1982b03cc9cb8fb0c86434c49","fixed":"3fb6a9d67cfd812a547ac73ec02e1077c26c640d","status":"affected"},{"type":"git","introduced":"a7e7a3156300a7e1982b03cc9cb8fb0c86434c49","fixed":"734ba6437e80dfc780e9ee9d95f912392d12b5ea","status":"affected"},{"type":"git","introduced":"a7e7a3156300a7e1982b03cc9cb8fb0c86434c49","fixed":"cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374","status":"affected"},{"type":"git","introduced":"a7e7a3156300a7e1982b03cc9cb8fb0c86434c49","fixed":"0788a6f3523d3686a9eed5ea1e6fcce6841277b2","status":"affected"},{"type":"git","introduced":"a7e7a3156300a7e1982b03cc9cb8fb0c86434c49","fixed":"c0dc9adf9474ecb7106e60e5472577375aedaed3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"4.19.320","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.282","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.224","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.165","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.103","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.44","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.3","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.19","fixed":"4.19.320"},{"status":"affected","introduced":"4.20","fixed":"5.4.282"},{"status":"affected","introduced":"5.5","fixed":"5.10.224"},{"status":"affected","introduced":"5.11","fixed":"5.15.165"},{"status":"affected","introduced":"5.16","fixed":"6.1.103"},{"status":"affected","introduced":"6.2","fixed":"6.6.44"},{"status":"affected","introduced":"6.7","fixed":"6.10.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c3b7a650c8717aa89df318364609c86cbc040156","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1415125b701ef13370e2761f691ec632a5eb93a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09c1583f0e10c918855d6e7540a79461a353e5d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3fb6a9d67cfd812a547ac73ec02e1077c26c640d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/734ba6437e80dfc780e9ee9d95f912392d12b5ea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0788a6f3523d3686a9eed5ea1e6fcce6841277b2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0dc9adf9474ecb7106e60e5472577375aedaed3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:08:31.513Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-43830","url":"https://www.cve.org/CVERecord?id=CVE-2024-43830","licence":"CVE Terms of Use","modified":"2026-10-15T00:48:25.048Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-43830","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43830","licence":"Public domain","modified":"2026-10-15T01:18:47.510Z"}],"updatedAt":"2026-11-25T22:58:44.493Z","epss":{"score":0.00251,"percentile":0.17633,"date":"2026-12-01T12:00:22.000Z"}}