Lucene search

K
cveLinuxCVE-2024-43830
HistoryAug 17, 2024 - 10:15 a.m.

CVE-2024-43830

2024-08-1710:15:08
Linux
web.nvd.nist.gov
27
linux kernel
vulnerability
sysfs attributes
trigger-data
device_remove_groups

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

13.7%

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 configurations

Vulners
Node
linuxlinux_kernelRange4.194.19.320
OR
linuxlinux_kernelRange4.20.05.4.282
OR
linuxlinux_kernelRange5.5.05.10.224
OR
linuxlinux_kernelRange5.11.05.15.165
OR
linuxlinux_kernelRange5.16.06.1.103
OR
linuxlinux_kernelRange6.2.06.6.44
OR
linuxlinux_kernelRange6.7.06.10.3
OR
linuxlinux_kernelRange6.11.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/leds/led-triggers.c"
    ],
    "versions": [
      {
        "version": "a7e7a3156300",
        "lessThan": "c3b7a650c871",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a7e7a3156300",
        "lessThan": "d1415125b701",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a7e7a3156300",
        "lessThan": "09c1583f0e10",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a7e7a3156300",
        "lessThan": "3fb6a9d67cfd",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a7e7a3156300",
        "lessThan": "734ba6437e80",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a7e7a3156300",
        "lessThan": "cb8aa9d2a4c8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a7e7a3156300",
        "lessThan": "0788a6f3523d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a7e7a3156300",
        "lessThan": "c0dc9adf9474",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/leds/led-triggers.c"
    ],
    "versions": [
      {
        "version": "4.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.19",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.320",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.282",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.224",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.165",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.103",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.44",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.3",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

13.7%