2084AI Security Observatory

CVE

CVE-2024-43830

CVE-2024-43830HIGH 7.8EPSS 16%

CNA 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().

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.7, < 6.10.3Fixed in 6.10.3
  • ≥ 6.2, < 6.6.44Fixed in 6.6.44
  • ≥ 5.16, < 6.1.103Fixed in 6.1.103
  • ≥ 5.11, < 5.15.165Fixed in 5.15.165
  • ≥ 5.5, < 5.10.224Fixed in 5.10.224
  • ≥ 4.20, < 5.4.282Fixed in 5.4.282
  • ≥ 4.19, < 4.19.320Fixed in 4.19.320

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.