CVE-2024-43830

HIGH EPSS 16.1%
Published Aug 17, 20241y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
High
Find Similar
Published Aug 17, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
16.1% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-416 Use After Free Memory Safety

Affected Products 7

VendorProductVersionRange
linuxlinux_kernel*≥4.19  –  <4.19.320
linuxlinux_kernel*≥4.20  –  <5.4.282
linuxlinux_kernel*≥5.5  –  <5.10.224
linuxlinux_kernel*≥5.11  –  <5.15.165
linuxlinux_kernel*≥5.16  –  <6.1.103
linuxlinux_kernel*≥6.2  –  <6.6.44
linuxlinux_kernel*≥6.7  –  <6.10.3

References 11

  • cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-265688.html
  • git.kernel.org https://git.kernel.org/stable/c/0788a6f3523d3686a9eed5ea1e6fcce6841277b2
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/09c1583f0e10c918855d6e7540a79461a353e5d6
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3fb6a9d67cfd812a547ac73ec02e1077c26c640d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/734ba6437e80dfc780e9ee9d95f912392d12b5ea
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c0dc9adf9474ecb7106e60e5472577375aedaed3
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c3b7a650c8717aa89df318364609c86cbc040156
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d1415125b701ef13370e2761f691ec632a5eb93a
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/0788a6f3523d3686a9eed5ea1e6fcce6841277b2
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/09c1583f0e10c918855d6e7540a79461a353e5d6
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3fb6a9d67cfd812a547ac73ec02e1077c26c640d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/734ba6437e80dfc780e9ee9d95f912392d12b5ea
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c0dc9adf9474ecb7106e60e5472577375aedaed3
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c3b7a650c8717aa89df318364609c86cbc040156
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/cb8aa9d2a4c8a15d6a43ccf901ef3d094aa60374
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d1415125b701ef13370e2761f691ec632a5eb93a
    Patch